Re: [U-Boot] [PATCH v3 8/8] Fix SIZE_MAX compiler warning when using stdint.h

2014-11-25 Thread Masahiro Yamada
Simon, I am not happy about this because my intention was to sync with that of Linux as much as possible. I have posted a new thread for open discussion because I doubt if USE_STDINT is a good idea. On Tue, 25 Nov 2014 14:47:22 -0700 Simon Glass wrote: > +Masahiro > > On 24 November 2014 a

[U-Boot] [OpenQuestion] stdint.h and inttypes.h in U-Boot ?

2014-11-25 Thread Masahiro Yamada
Hi Tom, Simon, other developers, Since commit 0d296cc2d3b8 (Provide option to avoid defining a custom version of uintptr_t) and commit 4166ecb247a1 (Add some standard headers external code might need), I have been wondering if they were right decisions. As arch/arm/include/asm/types.h of Lin

[U-Boot] [PATCH v3] ls1021aqds: add hwconfig setting to do pin mux

2014-11-25 Thread Yuan Yao
The Freescale LS1021AQDS share some pins, so Add the hwconfig option that allows the user to choose which the function he wants. The main pin mux IP is: eSDHC, SAI, IIC2, RGMII, CAN, SAI. Signed-off-by: Yuan Yao --- Changed in v3: - Add the change log in comment section. - Use #define instead

[U-Boot] [PATCH 2/2] blackfin: include rather than define __iomem

2014-11-25 Thread Masahiro Yamada
The macro __iomem is defined in include/linux/compiler.h. Let's include it rather than double __iomem defines. Signed-off-by: Masahiro Yamada Cc: Sonic Zhang --- arch/blackfin/include/asm/io.h | 3 +-- drivers/block/pata_bfin.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff

[U-Boot] [PATCH 0/2] Remove redundant macro defines

2014-11-25 Thread Masahiro Yamada
Masahiro Yamada (2): linux/compat.h: remove redundant macro defines blackfin: include rather than define __iomem arch/blackfin/include/asm/io.h | 3 +-- drivers/block/pata_bfin.h | 1 - include/linux/compat.h | 4 3 files changed, 1 insertion(+), 7 deletions(-) -- 1.9.

[U-Boot] [PATCH 1/2] linux/compat.h: remove redundant macro defines

2014-11-25 Thread Masahiro Yamada
__user and __iomem are defined in include/linux/compiler.h. MAX_ERRNO is defined in include/linux/err.h. Signed-off-by: Masahiro Yamada --- include/linux/compat.h | 4 1 file changed, 4 deletions(-) diff --git a/include/linux/compat.h b/include/linux/compat.h index 47b0889..b40133c 100644

[U-Boot] [PATCH] Replace with

2014-11-25 Thread Masahiro Yamada
Including is enough for general use. Signed-off-by: Masahiro Yamada --- arch/mips/include/asm/unaligned.h| 2 +- arch/sh/include/asm/unaligned.h | 2 +- arch/x86/cpu/coreboot/ipchecksum.c | 3 ++- arch/x86/include/asm/arch-coreboot/sysinfo.h | 2 +- arch/x86/

Re: [U-Boot] [PATCH] arm: ls102xa: Add QSPI boot support for LS1021AQDS/TWR board

2014-11-25 Thread Huan Wang
Hi, york, > -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: Wednesday, November 26, 2014 5:23 AM > To: Wang Huan-B18965; u-boot@lists.denx.de > Cc: Jin Zhengxiong-R64188; Wang Huan-B18965 > Subject: Re: [PATCH] arm: ls102xa: Add QSPI boot support for > LS1021AQDS

Re: [U-Boot] [PATCH] mvebu_mmc: Speed up access time

2014-11-25 Thread drEagle
Hi Mario, I test this patch but it is unsuccessfull with the seevaplug : After upgrade with U-Boot 2015.01-rc2-dirty (Nov 25 2014 - 08:10:39) Marvell-Sheevaplug Marvell>> mmc list

Re: [U-Boot] [PATCH v2] ls1021aqds: add hwconfig setting to do pin mux

2014-11-25 Thread Michael Trimarchi
Hi Il 26/nov/2014 05:15 "Yuan Yao" ha scritto: > > The Freescale LS1021AQDS share some pins, so Add the hwconfig option > that allows the user to choose which the function he wants. > > The main pin mux IP is: > eSDHC, SAI, IIC2, RGMII, CAN, SAI. > > Signed-off-by: Yuan Yao > --- > board/freesc

Re: [U-Boot] ls1021aqds: add hwconfig setting to do pin mux

2014-11-25 Thread Wolfgang Denk
Dear Yuan Yao, In message <1416973224-16794-1-git-send-email-yao.y...@freescale.com> you wrote: > > Changed in v2: > - Rebase to latest u-boot. > > Added in v1: > - Add hwconfig setting to do pin mux. Please include such change log in the comment section (below the "---" line) of the patch i

[U-Boot] [PATCH v2] ls1021aqds: add hwconfig setting to do pin mux

2014-11-25 Thread Yuan Yao
The Freescale LS1021AQDS share some pins, so Add the hwconfig option that allows the user to choose which the function he wants. The main pin mux IP is: eSDHC, SAI, IIC2, RGMII, CAN, SAI. Signed-off-by: Yuan Yao --- board/freescale/ls1021aqds/ls1021aqds.c | 65 +++--

[U-Boot] ls1021aqds: add hwconfig setting to do pin mux

2014-11-25 Thread Yuan Yao
Changed in v2: - Rebase to latest u-boot. Added in v1: - Add hwconfig setting to do pin mux. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 2/3][v2] drivers: usb: Make usb device-tree fixup code architecture independent

2014-11-25 Thread nikhil.bad...@freescale.com
> -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: Wednesday, November 26, 2014 3:05 AM > To: Badola Nikhil-B46172 > Cc: u-boot@lists.denx.de; Phillips Kim-R1AAHA; Mehresh Ramneek-B31383 > Subject: Re: [U-Boot] [PATCH 2/3][v2] drivers: usb: Make usb device-tree > f

[U-Boot] [Patch v2] powerpc/mpc85xx: Fix DDR TLB mapping leftover

2014-11-25 Thread York Sun
Commit f29f804a93e87c17670607641d120f431a3b0633 generalized the TLB mapping function, but made the DDR mapping leftover size to zero, causing the message not printed. Signed-off-by: York Sun CC: Alexander Graf CC: Scott Wood --- Change log v2: Fix unnecessary parentheses arch/powerpc/cpu/mpc

[U-Boot] [PATCH V2] powerpc/c29xpcie: Add secure boot support

2014-11-25 Thread Mingkai Hu
From: Po Liu Add NOR and SPI flash secure boot target for C29XPCIE board. Signed-off-by: Po Liu Signed-off-by: Mingkai.Hu --- board/freescale/c29xpcie/MAINTAINERS| 2 ++ configs/C29XPCIE_NOR_SECBOOT_defconfig | 4 configs/C29XPCIE_SPIFLASH_SECBOOT_defconfig | 4 include

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Fix DDR TLB mapping leftover

2014-11-25 Thread Scott Wood
On Tue, 2014-11-25 at 09:04 -0800, York Sun wrote: > Commit f29f804a93e87c17670607641d120f431a3b0633 generalized the TLB > mapping function, but made the DDR mapping leftover size to zero, > causing the message not printed. > > Signed-off-by: York Sun > CC: Alexander Graf > CC: Scott Wood > ---

Re: [U-Boot] [PATCH] dwc_ahsata.c: Add weak disable_sata_clock

2014-11-25 Thread Soeren Moch
On 26.11.2014 01:26, Tom Rini wrote: > On Tue, Nov 25, 2014 at 11:50:41PM +0100, Soeren Moch wrote: >> On 11/25/14 23:34, Soeren Moch wrote: Signed-off-by: Tom Rini >>> > --- drivers/block/dwc_ahsata.c |5 + 1 file changed, 5 inse

Re: [U-Boot] [PATCH] dwc_ahsata.c: Add weak disable_sata_clock

2014-11-25 Thread Tom Rini
On Tue, Nov 25, 2014 at 11:50:41PM +0100, Soeren Moch wrote: > On 11/25/14 23:34, Soeren Moch wrote: > >> Signed-off-by: Tom Rini >> > > >> --- > >> drivers/block/dwc_ahsata.c |5 + > >> 1 file changed, 5 insertions(+) > >> > >> diff --git a/dr

Re: [U-Boot] [PATCH] dwc_ahsata.c: Add weak disable_sata_clock

2014-11-25 Thread Soeren Moch
On 11/25/14 23:34, Soeren Moch wrote: > Signed-off-by: Tom Rini http://lists.denx.de/mailman/listinfo/u-boot>> > --- > drivers/block/dwc_ahsata.c |5 + > 1 file changed, 5 insertions(+) > > diff --git a/drivers/block/dwc_ahsata.c b/drivers/block/dwc_ahsata.c > index 9a2b547..e9d4283 10064

Re: [U-Boot] [PATCH v7] net/phy: Add support for CS4315/CS4340 PHY

2014-11-25 Thread Joe Hershberger
On Mon, Nov 10, 2014 at 4:32 AM, Shengzhou Liu wrote: > > Add support for Cortina CS4315/CS4340 10G PHY. > - This driver loads CS43xx firmware from NOR/NAND/SPI/SD device > to initialize Cortina PHY. > - Cortina PHY has non-standard offset of PHY ID registers, thus > we define own get_phy_id()

Re: [U-Boot] Bare x86 support is merged to u-boot-x86

2014-11-25 Thread Andy Pont
Hi Simon (and Bin), > I've applied the remaining x86 patches to u-boot-x86. It runs on > chromebook_link (Pixel) with support for most hardware relevant to a > boot loader: SDRAM, SPI, PCI, USB (and USB Ethernet), SATA (internal > 32GB SSD), SD card, LCD, UART, keyboard, EC. > > Bin this should b

[U-Boot] [PATCH v1] tools/kwboot: Allow just -t to function

2014-11-25 Thread Suriyan Ramasami
When kwboot is invoked with -t the code implicitly assumes that one of -b (boot message) or -d (debug message) with an image file is specified. This is not necessarily true. This allows kwboot -t to function. Signed-off-by: Suriyan Ramasami --- Changes in v1: - First try tools/kwboot.c | 2

Re: [U-Boot] [PATCH v7] net/phy: Add support for CS4315/CS4340 PHY

2014-11-25 Thread York Sun
On 11/10/2014 03:32 AM, Liu Shengzhou-B36685 wrote: >> -Original Message- >> From: Shengzhou Liu [mailto:shengzhou@freescale.com] >> Sent: Monday, November 10, 2014 6:32 PM >> To: u-boot@lists.denx.de; Sun York-R58495; joe.hershber...@gmail.com >> Cc: Liu Shengzhou-B36685 >> Subject: [P

Re: [U-Boot] Please pull u-boot-sunxi master

2014-11-25 Thread Tom Rini
On Tue, Nov 25, 2014 at 10:52:21AM -0700, Simon Glass wrote: > Hi Tom, > > On 25 November 2014 at 05:45, Hans de Goede wrote: > > Hi Tom, > > > > Please pull u-boot-sunxi/master into master, highlights: > > > > 1) hdmi console (with usb keyboard) support with simplefb support so the > > kernel >

[U-Boot] Bare x86 support is merged to u-boot-x86

2014-11-25 Thread Simon Glass
Hi Bin (and others interested in U-Boot on x86), I've applied the remaining x86 patches to u-boot-x86. It runs on chromebook_link (Pixel) with support for most hardware relevant to a boot loader: SDRAM, SPI, PCI, USB (and USB Ethernet), SATA (internal 32GB SSD), SD card, LCD, UART, keyboard, EC.

Re: [U-Boot] [PATCH 19/19] x86: chromebook_link: Enable the Chrome OS EC

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > Enable the Chrome OS EC so that it can be used from U-Boot. > > Signed-off-by: Simon Glass > --- > > board/google/chromebook_link/link.c | 4 > include/configs/chromebook_link.h | 5 + > 2 files changed, 9 insertions(+) Applied to u-

[U-Boot] [PATCH] dwc_ahsata.c: Add weak disable_sata_clock

2014-11-25 Thread Tom Rini
Signed-off-by: Tom Rini --- drivers/block/dwc_ahsata.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/block/dwc_ahsata.c b/drivers/block/dwc_ahsata.c index 9a2b547..e9d4283 100644 --- a/drivers/block/dwc_ahsata.c +++ b/drivers/block/dwc_ahsata.c @@ -16,6 +16,7 @@ #include

Re: [U-Boot] [PATCH 18/19] x86: chromebook_link: Enable the x86 emulator

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > Enable this so that it can be used instead of native execution if desired. > > Signed-off-by: Simon Glass > --- > > include/configs/chromebook_link.h | 4 > 1 file changed, 4 insertions(+) Applied to u-boot-x86. ___

Re: [U-Boot] [PATCH 17/19] bios_emulator: Always print errors when opcode decode fails

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > This is a rare event and should not happen. When it does it is confusing to > work out why. At least we should print a message. > > Adjust the emulator to always print decode errors to the console. > > Signed-off-by: Simon Glass > --- > > driver

Re: [U-Boot] [PATCH 16/19] bios_emulator: Add an option to enable debugging

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > At present there are DEBUG options spread around the place. If you enable > one and not another you can end up with an emulator that does not work, > since each file can have a different view of what the registers look like. > To fix this, create

Re: [U-Boot] [PATCH 12/19] x86: config: Enable video support for chromebook_link

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > Now that we have the required drivers, enable video support with a suitable > option ROM. > > Signed-off-by: Simon Glass > --- > > include/configs/chromebook_link.h | 10 +++--- > 1 file changed, 3 insertions(+), 7 deletions(-) Applied to u

Re: [U-Boot] [PATCH 10/19] x86: Add initial video device init for Intel GMA

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > Intel's Graphics Media Accelerator (GMA) is a generic name for a wide range > of video devices. Add code to set up the hardware on ivybridge. Part of the > init happens in native code, part of it happens in a 16-bit option ROM for > those nostalgi

Re: [U-Boot] [PATCH 15/19] bios_emulator: Allow a custom interrupt handler to be installed

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > Sometime we want to provide an interrupt handler for the ROM, Add a > function to allow this. > > Signed-off-by: Simon Glass > --- > > drivers/bios_emulator/include/x86emu.h | 1 + > drivers/bios_emulator/x86emu/sys.c | 5 + > 2 files ch

Re: [U-Boot] [PATCH 14/19] bios_emulator: Add vesa support and allow ROMs to be passed in as data

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > As well as locating the ROM on the PCI bus, allow the ROM to be supplied to > the emulator. Split the init up a little so that callers can supply their > own interrupt routines. Also allow a vesa mode to be provided, to be > selected once the BIOS

Re: [U-Boot] [PATCH 11/19] x86: dts: Add video information to the device tree

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > This provides panel timing information needed by the video driver. > > Signed-off-by: Simon Glass > --- > > arch/x86/dts/link.dts | 13 + > 1 file changed, 13 insertions(+) Applied to u-boot-x86.

Re: [U-Boot] [PATCH 13/19] bios_emulator: Allow x86 to use the emulator

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > There is an implicit assumption that x86 machines want to use raw I/O in the > BIOS emulator, but this should be selectable. Add an CONFIG_X86EMU_RAW_IO > option to control it instead. > > Also fix a few bugs which cause warnings on x86 and adjust

Re: [U-Boot] [PATCH 09/19] x86: Allow an option ROM to be built into U-Boot

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > Some x86 machines require a binary blob containing 16-bit initialisation > code for their video hardware. Allow this to be built into the x86 ROM so > that it is accessible during boot. > > Signed-off-by: Simon Glass > --- > > Makefile | 3 +++ >

Re: [U-Boot] [PATCH 08/19] x86: video: Add video driver for bare x86 boards

2014-11-25 Thread Simon Glass
On 15 November 2014 at 00:26, Anatolij Gustschin wrote: > Hi Simon, > > On Fri, 14 Nov 2014 20:56:34 -0700 > Simon Glass wrote: > >> Add a very simple driver which uses vesa to discover the video mode and >> then provides a frame buffer for use by U-Boot. >> >> Signed-off-by: Simon Glass >> ---

Re: [U-Boot] [PATCH 05/19] Add support for Vesa BIOS extensions

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > For option ROMs we can use these extensions to request a particular video > mode. Add a header file which defines the binary interface. > > Signed-off-by: Simon Glass > --- > > include/vbe.h | 103 > +

Re: [U-Boot] [PATCH 07/19] pci: Add general support for execution of video ROMs

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > Some platforms don't have native code for dealing with their video > hardware. In some cases they use a binary blob to set it up and perform > required actions like setting the video mode. This approach is a hangover > from the old PC days where a

Re: [U-Boot] [PATCH 06/19] x86: Add support for running option ROMs natively

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > On x86 machines we can use an emulator to run option ROMS as with other > architectures. But with some additional effort (mostly due to the 16-bit > nature of option ROMs) we can run them natively. Add support for this. > > Signed-off-by: Simon Gl

Re: [U-Boot] [PATCH 04/19] x86: Add vesa mode configuration options

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > Add Kconfig options to allow selection of a vesa mode on x86 machines. > > Signed-off-by: Simon Glass > --- > > arch/x86/Kconfig | 149 > +++ > 1 file changed, 149 insertions(+) Applied to u-

Re: [U-Boot] [PATCH 01/19] x86: Add a definition of asmlinkage

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > This is needed to permit calling C from assembler without too much pain. > Add a definition for x86. > > Signed-off-by: Simon Glass > --- > > include/common.h | 3 +++ > 1 file changed, 3 insertions(+) Applied to u-boot-x86. ___

Re: [U-Boot] [PATCH 03/19] x86: Add GDT descriptors for option ROMs

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > Option ROMs require a few additional descriptors. Add these, and remove the > enum since we now have to access several descriptors from assembler. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/cpu.c | 9 ++--- > arch/x

Re: [U-Boot] [PATCH 02/19] Introduce a header file for the BIOS emulator

2014-11-25 Thread Simon Glass
On 14 November 2014 at 20:56, Simon Glass wrote: > We should have a public header so that users can avoid defining functions > themselves. > > Signed-off-by: Simon Glass > --- > > drivers/bios_emulator/include/biosemu.h | 53 > ++--- > drivers/video/ati_radeon_fb.c

Re: [U-Boot] [PATCH] cmd_i2c: Provide option for bulk 'i2c write' in one transaction

2014-11-25 Thread Simon Glass
Hi, On 24 November 2014 at 09:00, Lubomir Popov wrote: > I2C chips do exist that require a write of some multi-byte data to occur in > a single bus transaction (aka atomic transfer), otherwise either the write > does not come into effect at all, or normal operation of internal circuitry > cannot

Re: [U-Boot] [PATCH v3 8/8] Fix SIZE_MAX compiler warning when using stdint.h

2014-11-25 Thread Simon Glass
+Masahiro On 24 November 2014 at 21:18, Simon Glass wrote: > This new symbol may be defined by the compiler. If it is, avoid a compiler > warning when USE_STDINT is defined. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Add new patch to fix SIZE_MAX compiler warning when using stdi

Re: [U-Boot] [PATCH v3 7/8] x86: Add ivybridge directory to Makefile

2014-11-25 Thread Simon Glass
+Tom On 25 November 2014 at 00:04, Masahiro Yamada wrote: > Hi Simon, > > Can you apply this as a single patch ASAP > to fix the build error, please? > > Masahiro > It's a new board and the support is so far incomplete anyway, so it's not unexpected that some pull requests might collide. Since

Re: [U-Boot] [PATCH v3 6/8] x86: config: Enable SPI for chromebook_link

2014-11-25 Thread Simon Glass
On 24 November 2014 at 21:18, Simon Glass wrote: > Enable SPI so that the SPI flash can be used. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > > include/configs/chromebook_link.h | 4 > 1 file changed, 4 deletions(-) Applied to u-boot-x86. ___

Re: [U-Boot] [PATCH v3 5/8] x86: ivybridge: Add northbridge init functions

2014-11-25 Thread Simon Glass
On 24 November 2014 at 21:18, Simon Glass wrote: > Add init for the northbridge, another part of the platform controller hub. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > > arch/x86/cpu/ivybridge/Makefile | 1 + > arch/x86/cpu/ivybridge

Re: [U-Boot] [PATCH v3 4/8] x86: Drop some msr functions that we don't support

2014-11-25 Thread Simon Glass
On 24 November 2014 at 21:18, Simon Glass wrote: > These are not available in U-Boot as yet, so drop them. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > > arch/x86/include/asm/msr.h | 11 --- > 1 file changed, 11 deletions(-) > Applied to u-boot-x8

Re: [U-Boot] [PATCH v3 2/8] x86: Add LAPIC setup code

2014-11-25 Thread Simon Glass
On 24 November 2014 at 22:24, Bin Meng wrote: > On Tue, Nov 25, 2014 at 12:18 PM, Simon Glass wrote: >> Add code to set up the Local Advanced Peripheral Interrupt Controller. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v3: >> - Use exitsing disable_lapic() code instead of duplicatin

Re: [U-Boot] [PATCH v3 3/8] x86: Add init for model 206AX CPU

2014-11-25 Thread Simon Glass
On 24 November 2014 at 21:18, Simon Glass wrote: > Add the setup code for the CPU so that it can be used at full speed. > > Signed-off-by: Simon Glass > --- > > Changes in v3: None > Changes in v2: None > > arch/x86/cpu/ivybridge/Makefile | 1 + > arch/x86/cpu/ivybridge/bd82x6x.c

Re: [U-Boot] [PATCH v3 1/8] x86: Drop old CONFIG_INTEL_CORE_ARCH code

2014-11-25 Thread Simon Glass
On 24 November 2014 at 22:22, Bin Meng wrote: > On Tue, Nov 25, 2014 at 12:18 PM, Simon Glass wrote: >> This is no-longer used, so drop it. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v3: >> - Split out CONFIG_INTEL_CORE_ARCH removal patch >> >> Changes in v2: None >> >> arch/x86/c

Re: [U-Boot] [PATCH] fs/ext4/ext4fs.c, fs/fs.c: Use lldiv and multiplication / subtraction on 64bit ops

2014-11-25 Thread Simon Glass
Hi Tom, On 24 November 2014 at 12:55, Simon Glass wrote: > On 24 November 2014 at 09:55, Tom Rini wrote: >> In some cases we need to do math on 64bit quantities. We need to be >> using lldiv in these cases rather than letting the compiler do it. In >> addition we need to avoid doing % operatio

Re: [U-Boot] [PATCH 2/3][v2] drivers: usb: Make usb device-tree fixup code architecture independent

2014-11-25 Thread York Sun
On 11/14/2014 10:57 AM, York Sun wrote: > On 10/20/2014 04:20 AM, Nikhil Badola wrote: >> move usb device tree fixup code from "arch/powerpc/" to "drivers/usb/" >> so that it works independent of architecture it is running on >> >> Signed-off-by: Ramneek Mehresh >> Signed-off-by: Nikhil Badola >>

Re: [U-Boot] [PATCH] arm: ls102xa: Add QSPI boot support for LS1021AQDS/TWR board

2014-11-25 Thread York Sun
On 10/24/2014 01:53 AM, Alison Wang wrote: > This patch adds QSPI boot support for LS1021AQDS/TWR board. > The QSPI boot image need to be programmed into the QSPI flash > first. Then the booting will start from QSPI memory space. > > This patch is based on the previous QSPI enabled patches. > > S

Re: [U-Boot] [PATCH] ls1021aqds: add hwconfig setting to do pin mux

2014-11-25 Thread York Sun
On 10/21/2014 01:34 AM, Yuan Yao wrote: > The Freescale LS1021AQDS share some pins, so Add the hwconfig option > that allows the user to choose which the function he wants. > > The main pin mux IP is: > eSDHC, SAI, IIC2, RGMII, CAN, SAI. > > Signed-off-by: Yuan Yao > --- > board/freescale/ls102

Re: [U-Boot] [PATCH v4 0/4] add support for new arch stv0991

2014-11-25 Thread Simon Glass
Hi Vikas, On 25 November 2014 at 12:50, vikasm wrote: > Hello Simon, > > > On 11/18/2014 10:17 AM, vikasm wrote: >> >> Hello Simon, >> >> On 11/17/2014 09:19 PM, Simon Glass wrote: >>> >>> Hi Vikas, >>> >>> On 18 November 2014 01:30, Vikas Manocha wrote: This patchset add support for n

Re: [U-Boot] [PATCH v4 0/4] add support for new arch stv0991

2014-11-25 Thread vikasm
Hi Simon, On 11/25/2014 11:50 AM, vikasm wrote: Hello Simon, On 11/18/2014 10:17 AM, vikasm wrote: Hello Simon, On 11/17/2014 09:19 PM, Simon Glass wrote: Hi Vikas, On 18 November 2014 01:30, Vikas Manocha wrote: This patchset add support for new arch stv0991. Changes in v4: - rebased to

Re: [U-Boot] [PATCH 1/2] mxc_ocotp: Do not disable the OCOTP clock after every access

2014-11-25 Thread Benoît Thébaudeau
Hi Fabio, On Tue, Nov 25, 2014 at 8:56 PM, Fabio Estevam wrote: > On Tue, Nov 25, 2014 at 5:48 PM, Benoît Thébaudeau > wrote: > >> That, or: >> - Make imx_get_mac_from_fuse() call enable_ocotp_clk(1) before >> reading the fuses, then call enable_ocotp_clk(0). > > Yes, I started with this exact

Re: [U-Boot] [PATCH 1/2] mxc_ocotp: Do not disable the OCOTP clock after every access

2014-11-25 Thread Fabio Estevam
Hi Benoît, On Tue, Nov 25, 2014 at 5:48 PM, Benoît Thébaudeau wrote: > That, or: > - Make imx_get_mac_from_fuse() call enable_ocotp_clk(1) before > reading the fuses, then call enable_ocotp_clk(0). Yes, I started with this exact same approach as well. It works, but Nitin told me he also had si

Re: [U-Boot] [PATCH] spl: Fix SPL EXT support

2014-11-25 Thread Suriyan Ramasami
Hello Guillaume GARDET, On Tue, Nov 25, 2014 at 6:34 AM, Guillaume GARDET wrote: > Commit 9f12cd0e062614e19734b2ab37842d387457c5e5 has broken SPL EXT support. > This patch update error code check to get SPL EXT support working again. > > Tested on a Pandaboard (rev. A3). > > Signed-off-by: Guill

Re: [U-Boot] [PATCH v4 0/4] add support for new arch stv0991

2014-11-25 Thread vikasm
Hello Simon, On 11/18/2014 10:17 AM, vikasm wrote: Hello Simon, On 11/17/2014 09:19 PM, Simon Glass wrote: Hi Vikas, On 18 November 2014 01:30, Vikas Manocha wrote: This patchset add support for new arch stv0991. Changes in v4: - rebased to current master - added maintainers info Changes

Re: [U-Boot] [PATCH 1/2] mxc_ocotp: Do not disable the OCOTP clock after every access

2014-11-25 Thread Benoît Thébaudeau
Hi Fabio, On Tue, Nov 25, 2014 at 4:11 PM, Fabio Estevam wrote: > Leave the OCOTP turned on, so that we subsequent access do not fail. > > After enabling the thermal driver on a mx6sxsabresd board: > > U-Boot 2015.01-rc1-18267-g99d4189-dirty (Nov 24 2014 - 12:59:01) > > CPU: Freescale i.MX6SX r

Re: [U-Boot] [PATCH 0/5] PL01x: baudrate & line control fixes

2014-11-25 Thread vikasm
Hello Simon, On 11/24/2014 07:51 PM, Simon Glass wrote: Hi Vikas, On 24 November 2014 at 17:40, vikasm wrote: Hi Simon, On 11/24/2014 07:51 AM, Simon Glass wrote: Hi Vikas, On 18 November 2014 at 11:59, vikasm wrote: Thanks Simon, On 11/17/2014 09:30 PM, Simon Glass wrote: Hi Vikas,

Re: [U-Boot] [PATCH v2 2/5] arm: ls102xa: Remove bit reversing for SCFG registers

2014-11-25 Thread York Sun
On 10/17/2014 12:26 AM, Alison Wang wrote: > SCFG_SCFGREVCR is SCFG bit reverse register. This register > must be written with 0x before writing to any other > SCFG register. Then other SCFG register could be written in > big-endian mode. > > Address: 157_h base + 200h offset = 157_020

Re: [U-Boot] [PATCH 1/9 v2] net/fm: add 2.5G SGMII support

2014-11-25 Thread York Sun
On 11/24/2014 01:11 AM, Shengzhou Liu wrote: > As auto-negotiation is not supported for 2.5G SGMII, we need > to add a new type PHY_INTERFACE_MODE_SGMII_2500 to differentiate > SGMII-1G and SGMII-2.5G with different setting for auto-negotiation. > > Signed-off-by: Shaohui Xie > Signed-off-by: She

Re: [U-Boot] [PATCH v2 4/5] arm: ls102xa: Add SystemID EEPROM support for LS1021ATWR board

2014-11-25 Thread York Sun
On 10/17/2014 12:26 AM, Alison Wang wrote: > SystemID information could be read through I2C1 from EEPROM > on LS1021ATWR board. > > As LS1 is a little-endian processor, getting the version ID by > be32_to_cpu() is wrong. Fix it by using e.version directly. > This change will be compatible for both

Re: [U-Boot] [PATCH v2 3/5] ls102xa: ifc: nor: fix the write issue when bytes unaligned

2014-11-25 Thread York Sun
On 10/17/2014 12:26 AM, Alison Wang wrote: > From: Yuan Yao > > Add define CONFIG_SYS_WRITE_SWAPPED_DATA. > For LS1021AQDS and LS1021QTWR nor flash write should swap the > bytes when handle unaligned tail bytes. > > Because of the ending, if the date bus width is 16-bits and the > number of byte

Re: [U-Boot] [PATCH v2 5/5] arm: ls102xa: Select ge2_clk125 for eTSEC clock muxing

2014-11-25 Thread York Sun
On 10/17/2014 12:26 AM, Alison Wang wrote: > EC1 pins in RCW can be selected as RGMII1, GPIO3, CAN1/2, FTM1 or > SAI1/2. There is a bug that EC3 RGMII could not work when selecting EC1 > as other functionality except RGMII. The workaround is to select > ge2_clk125 for eTSEC clock muxing in register

Re: [U-Boot] [PATCH v2 1/5] arm: ls102xa: Add snoop disable for slave port 0, 1 and 2

2014-11-25 Thread York Sun
On 10/17/2014 12:26 AM, Alison Wang wrote: > From: Jason Jin > > Disable the snoop for slave interface 0, 1 and 2 > to avoid the interleaving on the CCI400 BUS. > > Signed-off-by: Jason Jin > Signed-off-by: Minghuan Lian > --- > Change log: > v2: Add tag "arm: ls102xa:" in the subject. > >

Re: [U-Boot] [PATCH 1/2] drivers: usb: fsl: Define USB configs for LS102XA

2014-11-25 Thread York Sun
On 10/16/2014 11:05 PM, Nikhil Badola wrote: > Define USB configs for LS1021XA such as CONFIG_SYS_FSL_USB1_ADDR, > CONFIG_USB_MAX_CONTROLLER_COUNT > > Signed-off-by: Nikhil Badola > --- > arch/arm/include/asm/arch-ls102xa/config.h | 4 > include/usb/ehci-fsl.h | 3 +++ >

Re: [U-Boot] [PATCH 2/2] ls1: config: Enable USB EHCI Host on LS1021AQDS

2014-11-25 Thread York Sun
On 10/16/2014 11:07 PM, Nikhil Badola wrote: > Enable USB EHCI Host on LS1021AQDS > > Signed-off-by: Nikhil Badola > --- > include/configs/ls1021aqds.h | 17 + > 1 file changed, 17 insertions(+) > Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks. York ___

Re: [U-Boot] [PATCH 1/3] drivers: usb: fsl: Move USB Errata checking code

2014-11-25 Thread York Sun
On 09/29/2014 10:52 PM, Nikhil Badola wrote: > Move USB Errata checking code from "arch/powerpc" to architecture independent > file "fsl_usb.h" so that errata(s) become independent of the architecture. > For each erratum checking function for PPC arch, define a nop function for > non PPC arch for s

Re: [U-Boot] [PATCH] drivers : usb: fsl: Implement usb Erratum A007798 workaround

2014-11-25 Thread York Sun
On 10/16/2014 08:42 PM, Nikhil Badola wrote: > Set TXFIFOTHRESH to adjust ddr pipeline delay for successful large > usb writes > > Signed-off-by: Nikhil Badola > --- > Depends on patch https://patchwork.ozlabs.org/patch/394797/ > > arch/powerpc/cpu/mpc85xx/cmd_errata.c | 4 > arch/pow

Re: [U-Boot] [PATCH v2] u_qe: add u_qe_upload_firmware for u_qe

2014-11-25 Thread York Sun
On 11/03/2014 09:46 PM, Zhao Qiang wrote: > Signed-off-by: Zhao Qiang > --- > Changes for v2: > - put u_qe functions under "#ifdef CONFIG_U_QE" > > drivers/qe/qe.c | 129 > +++- > drivers/qe/qe.h | 6 ++- > 2 files changed, 133 inserti

Re: [U-Boot] Please pull u-boot-sunxi master

2014-11-25 Thread Simon Glass
Hi Tom, On 25 November 2014 at 05:45, Hans de Goede wrote: > Hi Tom, > > Please pull u-boot-sunxi/master into master, highlights: > > 1) hdmi console (with usb keyboard) support with simplefb support so the > kernel >can use the framebuffer too > 2) GMAC support for sun6i > 3) A couple of sma

Re: [U-Boot] [PATCH 3/4] arm: ls102xa: Fixed a register definition error

2014-11-25 Thread York Sun
On 10/09/2014 01:11 AM, yuantian.t...@freescale.com wrote: > From: Tang Yuantian > > There are 8 SCFG_SPARECR registers in SCFG memory block, not one. > > Signed-off-by: Tang Yuantian > --- > arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion

Re: [U-Boot] [PATCH 4/4] qe: add qe support for ls1021a-twr board

2014-11-25 Thread York Sun
On 09/26/2014 01:25 AM, Zhao Qiang wrote: > Signed-off-by: Zhao Qiang > --- > board/freescale/ls1021atwr/ls1021atwr.c | 7 +++ > include/configs/ls1021atwr.h| 6 ++ > 2 files changed, 13 insertions(+) Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks. York

Re: [U-Boot] [PATCH 3/4] qe: add qe support to ls1021aqds

2014-11-25 Thread York Sun
On 09/26/2014 01:25 AM, Zhao Qiang wrote: > add qe support to ls1021aqds > > Signed-off-by: Zhao Qiang > --- > board/freescale/ls1021aqds/ls1021aqds.c | 8 > include/configs/ls1021aqds.h| 5 + > 2 files changed, 13 insertions(+) Applied to u-boot-fsl-qoriq master. Await

Re: [U-Boot] [PATCH 2/4] qe: add u-qe support to arm board

2014-11-25 Thread York Sun
On 09/24/2014 10:52 PM, Zhao Qiang wrote: > ls1021 is arm-core and support qe which is u-qe. > add u-qe init for arm board. > > Signed-off-by: Zhao Qiang > --- > arch/arm/include/asm/arch-ls102xa/config.h | 4 > arch/arm/include/asm/global_data.h | 8 > drivers/Makefile

Re: [U-Boot] [Patch] mmc: fsl_esdhc: fix f_max retrieval during init

2014-11-25 Thread York Sun
On 10/27/2014 04:19 PM, Eric Nelson wrote: > Hi Markus, > > On 10/24/2014 02:44 AM, Markus Niebel wrote: >> From: Markus Niebel >> >> for multi instance API we use struct fsl_esdhc_cfg to >> pass the clock rate. Do not set f_max from global data, >> since this is wrong for multi instance case. >>

Re: [U-Boot] [PATCH 1/4] net/fm: add 2.5G SGMII support

2014-11-25 Thread York Sun
On 10/23/2014 02:20 AM, Shengzhou Liu wrote: > As auto-negotiation is not supported for 2.5G SGMII, we need > to add a new type PHY_INTERFACE_MODE_SGMII_2500 to differentiate > SGMII-1G and SGMII-2.5G with different setting for auto-negotiation. > > Signed-off-by: Shaohui Xie > Signed-off-by: She

[U-Boot] [PATCH v1] exynos: Fix file system defines

2014-11-25 Thread Suriyan Ramasami
On the odroid, files in an ext4 file system were not being accessed. Correct the #defines to take care of this. Signed-off-by: Suriyan Ramasami --- Changes in v1: - First try include/configs/exynos-common.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/con

Re: [U-Boot] [PATCH 2/2][v2] powerpc/t2080qds: fix for 1000BASE-KX

2014-11-25 Thread York Sun
On 10/20/2014 04:51 AM, shh@gmail.com wrote: > From: Shaohui Xie > > 1000BASE-KX(1G-KX) uses SGMII protocol but the serdes lane runs in 1G-KX > mode. By default, the lane runs in SGMII mode, when a MAC uses a lane > in 1G-KX mode, corresponding bit in PCCR1 for the lane needs to be set, > and

Re: [U-Boot] [PATCH v3 3/4] tegra: config: Enable FIT and device tree for all boards

2014-11-25 Thread Simon Glass
Hi Stephen, On 25 November 2014 at 09:23, Stephen Warren wrote: > On 11/24/2014 04:49 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 24 November 2014 at 10:11, Stephen Warren >> wrote: >>> >>> On 11/23/2014 09:12 AM, Simon Glass wrote: Modern kernels require a device tree to bo

Re: [U-Boot] [PATCH 1/2][v2] powerpc/t2080qds: fixup dtb for 10g-kr

2014-11-25 Thread York Sun
On 10/20/2014 04:48 AM, Shaohui Xie wrote: > XFI ports on t2080qds can work with fiber cable and direct attach > cable(copper). We use hwconfig to define cable type for XFI, and fixup > dtb based on the cable type. > > For copper cable, set below env in hwconfig: > > fsl_10gkr_copper:<10g_mac_nam

Re: [U-Boot] [PATCH] config: MPC837X : Add complete USB EHCI support

2014-11-25 Thread York Sun
On 10/20/2014 04:01 AM, Nikhil Badola wrote: > Add complete USB EHCI support for MPC837XEMDS and MPC837XERDB > > Signed-off-by: Nikhil Badola > --- > include/configs/MPC837XEMDS.h | 5 + > include/configs/MPC837XERDB.h | 5 + > 2 files changed, 10 insertions(+) > Applied to u-boot-mpc8

Re: [U-Boot] [PATCH v2] powerpc/t4rdb: Add support of CPLD

2014-11-25 Thread York Sun
On 10/20/2014 01:03 AM, Chunhe Lan wrote: > This support of CPLD includes > > - Files and register definitions > - Command to switch alternate bank > - Command to switch default bank > > Signed-off-by: Chunhe Lan > --- The difference between v2 and v1 is applied to u-boot-mpc85xx ma

Re: [U-Boot] [PATCH] board/t2080qds: add readme for t2080qds

2014-11-25 Thread York Sun
On 10/17/2014 03:49 AM, Shengzhou Liu wrote: > Signed-off-by: Shengzhou Liu > --- > board/freescale/t208xqds/README | 243 > > 1 file changed, 243 insertions(+) > create mode 100755 board/freescale/t208xqds/README Applied to u-boot-mpc85xx master. Await

Re: [U-Boot] [PATCH] P1023RDB: Update default environment

2014-11-25 Thread York Sun
On 10/17/2014 01:24 AM, Chunhe Lan wrote: > Signed-off-by: Chunhe Lan > --- > include/configs/P1023RDB.h | 43 +++ > 1 files changed, 43 insertions(+), 0 deletions(-) Applied to u-boot-mpc85xx master. Awaiting upstream. Thanks. York __

[U-Boot] please pull u-boot-fsl-qoriq

2014-11-25 Thread York Sun
Tom, The following changes since commit f196044dfd64745a163773c6c746f9e149ace127: ARM: atmel: add sama5d4 xplained ultra board support (2014-11-17 08:47:18 -0500) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git master for you to fetch changes up to 0ab172353

Re: [U-Boot] Raspberry Pi with driver model

2014-11-25 Thread Simon Glass
Hi Stephen, On 25 November 2014 at 09:44, Stephen Warren wrote: > On 11/24/2014 09:32 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 24 November 2014 at 21:21, Stephen Warren wrote: >>> >>> On 11/24/2014 08:58 AM, Simon Glass wrote: Hi Stephen, There was another thread whe

[U-Boot] Please pull u-boot-mpc85xx

2014-11-25 Thread York Sun
Tom, The following changes since commit f196044dfd64745a163773c6c746f9e149ace127: ARM: atmel: add sama5d4 xplained ultra board support (2014-11-17 08:47:18 -0500) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master for you to fetch changes up to 3b4b9a3377d

Re: [U-Boot] [PATCH] powerpc/c29xpcie: Add secure boot support

2014-11-25 Thread York Sun
On 11/25/2014 08:40 AM, Hu Mingkai-B21284 wrote: > > >> -Original Message- >> From: York Sun [mailto:york...@freescale.com] >> Sent: Wednesday, November 26, 2014 12:22 AM >> To: Hu Mingkai-B21284; u-boot@lists.denx.de >> Cc: Sun York-R58495; Liu Po-B43644 >> Subject: Re: [PATCH] powerpc/c

[U-Boot] [PATCH] powerpc/mpc85xx: Fix DDR TLB mapping leftover

2014-11-25 Thread York Sun
Commit f29f804a93e87c17670607641d120f431a3b0633 generalized the TLB mapping function, but made the DDR mapping leftover size to zero, causing the message not printed. Signed-off-by: York Sun CC: Alexander Graf CC: Scott Wood --- arch/powerpc/cpu/mpc85xx/tlb.c | 11 +++ 1 file changed

Re: [U-Boot] Raspberry Pi with driver model

2014-11-25 Thread Stephen Warren
On 11/24/2014 09:32 PM, Simon Glass wrote: Hi Stephen, On 24 November 2014 at 21:21, Stephen Warren wrote: On 11/24/2014 08:58 AM, Simon Glass wrote: Hi Stephen, There was another thread where you reported a hang when booting Raspberry Pi with driver model. It can be repeated by applying thi

Re: [U-Boot] [PATCH] powerpc/c29xpcie: Add secure boot support

2014-11-25 Thread mingkai...@freescale.com
> -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: Wednesday, November 26, 2014 12:22 AM > To: Hu Mingkai-B21284; u-boot@lists.denx.de > Cc: Sun York-R58495; Liu Po-B43644 > Subject: Re: [PATCH] powerpc/c29xpcie: Add secure boot support > > On 11/25/2014 01:42 A

  1   2   >