Re: [U-Boot] [PATCH 07/10] x86: Implement a cache for Memory Reference Code parameters

2015-01-03 Thread Bin Meng
Hi Simon, On Tue, Dec 30, 2014 at 9:12 AM, Simon Glass wrote: > The memory reference code takes a very long time to 'train' its SDRAM > interface, around half a second. To avoid this delay on every boot we can > store the parameters from the last training sessions to speed up the next. > > Add an

[U-Boot] Nokia RX-51 (N900) board broken

2015-01-03 Thread Pali Rohár
Hello, Nokia N900 board does not work anymore from master branch in qemu. I bisected first commit which broke it. It is: 41623c91b09a0c865fab41acdaff30f060f29ad6 arm: move exception handling out of start.S files Before this commit uboot on n900 in qemu working fine. Since this commit qemu crash

[U-Boot] [PATCH] doc: fix grammatical errors in README

2015-01-03 Thread Jeremiah Mahler
Fix various spelling and grammatical errors in the README. Signed-off-by: Jeremiah Mahler --- README | 74 +- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/README b/README index 42ece99..530e88c 100644 --- a/README

[U-Boot] [PATCH 1/2] arm: ls102xa: Add LPUART support for LS1021AQDS board

2015-01-03 Thread Alison Wang
This patch adds LPUART support for LS1021AQDS board. For ls1021aqds_nor_lpuart_defconfig, LPUART is used as the console. Signed-off-by: Alison Wang --- board/freescale/ls1021aqds/MAINTAINERS | 1 + configs/ls1021aqds_nor_lpuart_defconfig | 3 +++ include/configs/ls1021aqds.h| 13 +

[U-Boot] [PATCH 2/2] arm: ls102xa: Add LPUART support for LS1021ATWR board

2015-01-03 Thread Alison Wang
This patch adds LPUART support for LS1021ATWR board. For ls1021atwr_nor_lpuart_defconfig, LPUART is used as the console. Signed-off-by: Alison Wang --- board/freescale/ls1021atwr/MAINTAINERS | 1 + configs/ls1021atwr_nor_lpuart_defconfig | 3 +++ include/configs/ls1021atwr.h| 12 +

Re: [U-Boot] [PATCH 03/10] x86: Add helpers to read/write CMOS RAM

2015-01-03 Thread Bin Meng
Hi Simon, On Tue, Dec 30, 2014 at 9:12 AM, Simon Glass wrote: > On x86 we use CMOS RAM to read and write some settings. Add basic support > for this. Should we consolidate the cmos support with the existing mc146818.c RTC driver? > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/cmo

Re: [U-Boot] [PATCH 02/10] x86: Add checksum implementation

2015-01-03 Thread Bin Meng
Hi Simon, On Tue, Dec 30, 2014 at 9:12 AM, Simon Glass wrote: > Add a checksum implementation that can be used with CMOS RAM. What about the existing coreboot version of checksum implementation (arch/x86/cpu/coreboot/ipchecksum.c)? We need consolidate them. > Signed-off-by: Simon Glass > --- >

Re: [U-Boot] [PATCH 01/10] x86: dts: Add compatible string for Intel ICH9 SPI controller

2015-01-03 Thread Bin Meng
Hi Simon, On Tue, Dec 30, 2014 at 9:12 AM, Simon Glass wrote: > Add this to the enum so that we can use the various fdtdec functions. A > later commit will move this driver to driver model. > > Signed-off-by: Simon Glass > --- > > include/fdtdec.h | 1 + > lib/fdtdec.c | 1 + > 2 files chan

Re: [U-Boot] [PATCH 09/10] x86: Access the VGA ROM when needed

2015-01-03 Thread Bin Meng
Hi Simon, On Tue, Dec 30, 2014 at 10:32 AM, Simon Glass wrote: > Add code to the generic pci_rom file to access the VGA ROM in PCI space > when needed. > > Signed-off-by: Simon Glass > --- > > drivers/pci/pci_auto.c | 28 +++- > drivers/pci/pci_rom.c | 7 ++- > inc

Re: [U-Boot] [PATCH 06/10] x86: pci: Don't stop when we get a vendor/device mismatch

2015-01-03 Thread Bin Meng
On Tue, Dec 30, 2014 at 10:32 AM, Simon Glass wrote: > These are quite common and we may as well press on and not be so picky. > > Signed-off-by: Simon Glass > --- > > drivers/pci/pci_rom.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/pci/pci_rom.c b/drivers/p

Re: [U-Boot] [PATCH 03/10] x86: Support ROMs on other archs

2015-01-03 Thread Bin Meng
On Tue, Dec 30, 2014 at 10:32 AM, Simon Glass wrote: > We shouldn't assume that the VGA ROM can always be loaded at c. This > is only true on x86 machines. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/u-boot-x86.h | 2 ++ > drivers/pci/pci_rom.c | 6 ++ > inc

Re: [U-Boot] [PATCH 02/10] x86: Correct endianness isues in pci_rom

2015-01-03 Thread Bin Meng
On Tue, Dec 30, 2014 at 10:32 AM, Simon Glass wrote: > This code is too x86-dependent at present. Correct it so that it can run on > big-endian machines. > > Signed-off-by: Simon Glass > --- > > drivers/pci/pci_rom.c | 25 ++--- > 1 file changed, 14 insertions(+), 11 deletion

Re: [U-Boot] [PATCH 01/10] bios_emulator: Fix an #ifdef typo in the header file

2015-01-03 Thread Bin Meng
On Tue, Dec 30, 2014 at 10:32 AM, Simon Glass wrote: > This stops the debug mode from working properly. > > Signed-off-by: Simon Glass > --- > > drivers/bios_emulator/include/x86emu/debug.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/bios_emulator/include/x86

Re: [U-Boot] [PATCH 3/3] x86: coreboot: Wrap cros_ec initialization

2015-01-03 Thread Simon Glass
Hi Bin, On 3 January 2015 at 20:41, Bin Meng wrote: > Hi Simon, > > On Sun, Jan 4, 2015 at 11:19 AM, Simon Glass wrote: >> Hi Bin, >> >> On 3 January 2015 at 20:12, Bin Meng wrote: >>> Hi Simon, >>> >>> On Sun, Jan 4, 2015 at 11:01 AM, Simon Glass wrote: Hi Bin, On 3 January 201

Re: [U-Boot] [PATCH v2 22/22] x86: Add an 'mtrr' command to list and adjust MTRRs

2015-01-03 Thread Bin Meng
On Fri, Jan 2, 2015 at 7:18 AM, Simon Glass wrote: > It is useful to be able to see the MTRR setup in U-Boot. Add a command > to list the state of the variable MTRR registers and allow them to be > changed. > > Update the documentation to list some of the available commands. > > This does not supp

Re: [U-Boot] [PATCH v2 20/22] x86: Disable CAR before relocation on platforms that need it

2015-01-03 Thread Bin Meng
Hi Simon, On Fri, Jan 2, 2015 at 7:18 AM, Simon Glass wrote: > For platforms with CAR we should disable it before relocation. Check if > this function is available and call it if so. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Use a simple call instruction to call car_uninit > >

Re: [U-Boot] [PATCH 3/3] x86: coreboot: Wrap cros_ec initialization

2015-01-03 Thread Bin Meng
Hi Simon, On Sun, Jan 4, 2015 at 11:19 AM, Simon Glass wrote: > Hi Bin, > > On 3 January 2015 at 20:12, Bin Meng wrote: >> Hi Simon, >> >> On Sun, Jan 4, 2015 at 11:01 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 3 January 2015 at 19:58, Bin Meng wrote: Hi Simon, On Sun, Jan 4,

Re: [U-Boot] [PATCH v2 15/22] x86: ivybridge: Set up an MTRR for the video frame buffer

2015-01-03 Thread Bin Meng
Hi Simon, On Sun, Jan 4, 2015 at 11:20 AM, Simon Glass wrote: > Hi Bin, > > On 3 January 2015 at 20:18, Bin Meng wrote: >> Hi Simon, >> >> On Fri, Jan 2, 2015 at 7:18 AM, Simon Glass wrote: >>> Set the frame buffer to write-combining. This makes it faster, although for >>> scrolling write-throu

Re: [U-Boot] [PATCH 16/22] x86: board_f: Adjust x86 boot order for performance

2015-01-03 Thread Bin Meng
Hi Simon, On Fri, Jan 2, 2015 at 6:23 AM, Simon Glass wrote: > Hi Bin, > > On 30 December 2014 at 22:51, Bin Meng wrote: >> >> Hi Simon, >> >> On Sun, Dec 28, 2014 at 10:20 AM, Simon Glass wrote: >> > For bare platforms we turn off ROM-caching before calling board_init_f_r() >> > It is then ver

Re: [U-Boot] [PATCH v2 15/22] x86: ivybridge: Set up an MTRR for the video frame buffer

2015-01-03 Thread Simon Glass
Hi Bin, On 3 January 2015 at 20:18, Bin Meng wrote: > Hi Simon, > > On Fri, Jan 2, 2015 at 7:18 AM, Simon Glass wrote: >> Set the frame buffer to write-combining. This makes it faster, although for >> scrolling write-through is even faster for U-Boot. >> >> Signed-off-by: Simon Glass >> --- >>

Re: [U-Boot] [PATCH 3/3] x86: coreboot: Wrap cros_ec initialization

2015-01-03 Thread Simon Glass
Hi Bin, On 3 January 2015 at 20:12, Bin Meng wrote: > Hi Simon, > > On Sun, Jan 4, 2015 at 11:01 AM, Simon Glass wrote: >> Hi Bin, >> >> On 3 January 2015 at 19:58, Bin Meng wrote: >>> Hi Simon, >>> >>> On Sun, Jan 4, 2015 at 10:33 AM, Simon Glass wrote: Hi Bin, On 3 January 201

Re: [U-Boot] [PATCH v2 15/22] x86: ivybridge: Set up an MTRR for the video frame buffer

2015-01-03 Thread Bin Meng
Hi Simon, On Fri, Jan 2, 2015 at 7:18 AM, Simon Glass wrote: > Set the frame buffer to write-combining. This makes it faster, although for > scrolling write-through is even faster for U-Boot. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Remove definition of 'ulong start' from this

Re: [U-Boot] [PATCH 3/3] x86: coreboot: Wrap cros_ec initialization

2015-01-03 Thread Bin Meng
Hi Simon, On Sun, Jan 4, 2015 at 11:01 AM, Simon Glass wrote: > Hi Bin, > > On 3 January 2015 at 19:58, Bin Meng wrote: >> Hi Simon, >> >> On Sun, Jan 4, 2015 at 10:33 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 3 January 2015 at 07:40, Bin Meng wrote: cros_ec_board_init() should be cal

Re: [U-Boot] [PATCH 3/3] x86: coreboot: Wrap cros_ec initialization

2015-01-03 Thread Simon Glass
Hi Bin, On 3 January 2015 at 19:58, Bin Meng wrote: > Hi Simon, > > On Sun, Jan 4, 2015 at 10:33 AM, Simon Glass wrote: >> Hi Bin, >> >> On 3 January 2015 at 07:40, Bin Meng wrote: >>> cros_ec_board_init() should be called only when CONFIG_CROS_EC is >>> enabled. Also undef CONFIG_CROS_EC in th

Re: [U-Boot] [PATCH 3/3] x86: coreboot: Wrap cros_ec initialization

2015-01-03 Thread Bin Meng
Hi Simon, On Sun, Jan 4, 2015 at 10:33 AM, Simon Glass wrote: > Hi Bin, > > On 3 January 2015 at 07:40, Bin Meng wrote: >> cros_ec_board_init() should be called only when CONFIG_CROS_EC is >> enabled. Also undef CONFIG_CROS_EC in the coreboot configuration. >> >> Signed-off-by: Bin Meng >> >> -

Re: [U-Boot] [PATCH 2/3] x86: Allow a hardcoded TSC frequency provided by Kconfig

2015-01-03 Thread Bin Meng
Hi Simon, On Sun, Jan 4, 2015 at 10:31 AM, Simon Glass wrote: > Hi Bin, > > On 3 January 2015 at 07:40, Bin Meng wrote: >> By default U-Boot automatically calibrates TSC running frequency via >> MSR and PIT. The calibration may not work on every x86 processor, so >> a new Kconfig option CONFIG_T

Re: [U-Boot] [PATCH 0/3] x86: coreboot: Support running U-Boot in qemu

2015-01-03 Thread Bin Meng
Hi Simon, On Sun, Jan 4, 2015 at 10:28 AM, Simon Glass wrote: > Hi Bin, > > On 3 January 2015 at 18:59, Bin Meng wrote: >> Hi Otavio, >> >> On Sun, Jan 4, 2015 at 9:06 AM, Otavio Salvador >> wrote: >>> On Sat, Jan 3, 2015 at 12:40 PM, Bin Meng wrote: Currently when U-Boot is loaded by co

Re: [U-Boot] [PATCH 1/3] x86: coreboot: Setup timer base correctly

2015-01-03 Thread Simon Glass
On 3 January 2015 at 07:40, Bin Meng wrote: > If coreboot is built with CONFIG_COLLECT_TIMESTAMPS, use the value > of base_time in coreboot's timestamp table as our timer base, > otherwise TSC counter value will be used. > > Note sometimes even coreboot is built with CONFIG_COLLECT_TIMES, > the va

Re: [U-Boot] [PATCH 3/3] x86: coreboot: Wrap cros_ec initialization

2015-01-03 Thread Simon Glass
Hi Bin, On 3 January 2015 at 07:40, Bin Meng wrote: > cros_ec_board_init() should be called only when CONFIG_CROS_EC is > enabled. Also undef CONFIG_CROS_EC in the coreboot configuration. > > Signed-off-by: Bin Meng > > --- > > board/coreboot/coreboot/coreboot.c | 2 ++ > include/configs/corebo

Re: [U-Boot] [PATCH 2/3] x86: Allow a hardcoded TSC frequency provided by Kconfig

2015-01-03 Thread Simon Glass
Hi Bin, On 3 January 2015 at 07:40, Bin Meng wrote: > By default U-Boot automatically calibrates TSC running frequency via > MSR and PIT. The calibration may not work on every x86 processor, so > a new Kconfig option CONFIG_TSC_CALIBRATION_BYPASS is introduced to > allow bypassing the calibration

Re: [U-Boot] [PATCH v2 09/22] x86: ivybridge: Only run the Video BIOS when video is enabled

2015-01-03 Thread Bin Meng
On Fri, Jan 2, 2015 at 7:18 AM, Simon Glass wrote: > This takes about about 700ms on link when running natively and 900ms when > running using the emulator. It is a waste of time if video is not enabled, > so don't bother running the video BIOS in that case. > > We could add a command to run the v

Re: [U-Boot] [PATCH 0/3] x86: coreboot: Support running U-Boot in qemu

2015-01-03 Thread Simon Glass
Hi Bin, On 3 January 2015 at 18:59, Bin Meng wrote: > Hi Otavio, > > On Sun, Jan 4, 2015 at 9:06 AM, Otavio Salvador > wrote: >> On Sat, Jan 3, 2015 at 12:40 PM, Bin Meng wrote: >>> Currently when U-Boot is loaded by coreboot in qemu, U-Boot does not >>> boot due to several issues. This patch

Re: [U-Boot] [PATCH v2 02/22] x86: Drop RAMTOP Kconfig

2015-01-03 Thread Bin Meng
On Fri, Jan 2, 2015 at 7:17 AM, Simon Glass wrote: > We don't need this in U-Boot since we calculate it based on available memory. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Remove CONFIG_RAMTOP from mtrr.h in this patch > > arch/x86/Kconfig| 4 > arch/x86/inclu

[U-Boot] Some ARM builds fail due to float ABI mismatch

2015-01-03 Thread B.R. Oake
Hello, If I build U-Boot natively on an A20-Olinuxino-Micro (sunxi) running Debian Jessie armhf, and the code includes certain operations such as division of a long long, I get this error: $ make [...] LDS u-boot.lds LD u-boot ld.bfd: error: /usr/lib/gcc/arm-linux-gnueabihf/4.9/libgc

Re: [U-Boot] [PATCH 0/3] x86: coreboot: Support running U-Boot in qemu

2015-01-03 Thread Bin Meng
Hi Otavio, On Sun, Jan 4, 2015 at 9:06 AM, Otavio Salvador wrote: > On Sat, Jan 3, 2015 at 12:40 PM, Bin Meng wrote: >> Currently when U-Boot is loaded by coreboot in qemu, U-Boot does not >> boot due to several issues. This patch series fix these issues to make >> coreboot support in U-Boot mor

Re: [U-Boot] [PATCH 0/3] x86: coreboot: Support running U-Boot in qemu

2015-01-03 Thread Otavio Salvador
On Sat, Jan 3, 2015 at 12:40 PM, Bin Meng wrote: > Currently when U-Boot is loaded by coreboot in qemu, U-Boot does not > boot due to several issues. This patch series fix these issues to make > coreboot support in U-Boot more robust so that it can run on top of > qemu out of the box. > > The comm

Re: [U-Boot] [PATCH 06/12] arm: socfpga: Add Altera Arria V DK support

2015-01-03 Thread Marek Vasut
On Saturday, January 03, 2015 at 04:44:21 PM, Pavel Machek wrote: > On Wed 2014-12-31 20:14:54, Marek Vasut wrote: > > Add support for the Altera Arria V development kit. > > > > Signed-off-by: Marek Vasut > > Cc: Chin Liang See > > Cc: Dinh Nguyen > > Cc: Pavel Machek > > Cc: Stefan Roese >

Re: [U-Boot] [PATCH 02/12] arm: socfpga: Sync Cyclone V DK pinmux configuration

2015-01-03 Thread Marek Vasut
On Friday, January 02, 2015 at 06:13:43 AM, Pavel Machek wrote: > On Wed 2014-12-31 20:14:50, Marek Vasut wrote: > > Sync SoCFPGA Cyclone V development kit pinmux configuration with > > Rocketboard U-Boot v2013.01.01-114-g9381569 (ACDS14.1_REL_GSRD_PR). > > > > Signed-off-by: Marek Vasut > > Cc:

Re: [U-Boot] [PATCH 03/12] arm: socfpga: Sync Cyclone V DK PLL configuration

2015-01-03 Thread Marek Vasut
On Friday, January 02, 2015 at 06:19:24 AM, Pavel Machek wrote: > On Wed 2014-12-31 20:14:51, Marek Vasut wrote: > > Sync SoCFPGA Cyclone V development kit pinmux configuration with > > Rocketboard U-Boot v2013.01.01-114-g9381569 (ACDS14.1_REL_GSRD_PR). > > > > NOTE: This change is useless until w

Re: [U-Boot] [PATCH 02/12] arm: socfpga: Sync Cyclone V DK pinmux configuration

2015-01-03 Thread Marek Vasut
On Saturday, January 03, 2015 at 12:08:04 PM, Stefan Roese wrote: > On 31.12.2014 20:14, Marek Vasut wrote: > > Sync SoCFPGA Cyclone V development kit pinmux configuration with > > Rocketboard U-Boot v2013.01.01-114-g9381569 (ACDS14.1_REL_GSRD_PR). > > > > Signed-off-by: Marek Vasut > > Cc: Chin

Re: [U-Boot] [PATCH 01/12] arm: socfpga: Minor coding style fix

2015-01-03 Thread Marek Vasut
On Friday, January 02, 2015 at 06:10:56 AM, Pavel Machek wrote: > On Wed 2014-12-31 20:14:49, Marek Vasut wrote: > > Replace multiple spaces with a single tab. > > > > Signed-off-by: Marek Vasut > > Cc: Chin Liang See > > Cc: Dinh Nguyen > > Acked-by: Pavel Machek > > > +#define CONFIG_HPS_I

Re: [U-Boot] Nokia RX-51 (N900) board broken

2015-01-03 Thread Benoît Thébaudeau
Dear Pali Rohár, On Sat, Jan 3, 2015 at 11:47 AM, Pali Rohár wrote: > Hello, > > Nokia N900 board does not work anymore from master branch in > qemu. I bisected first commit which broke it. It is: > > 41623c91b09a0c865fab41acdaff30f060f29ad6 > arm: move exception handling out of start.S files > >

Re: [U-Boot] [PATCH 5/6] sunxi: video: Give hotplug-detect (hpd) signal some time to show up

2015-01-03 Thread B.R. Oake
On 28/12/14 08:40, Hans de Goede wrote: > On 24-12-14 19:29, B.R. Oake wrote: >> Yes. How about if sunxi_hdmi_hpd_detect() was split into two, firstly the >> initialisation part that always needs to be run, and secondly the actual >> hpd detection, which would only be run if the hpd option to vide

Re: [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : REFRESH 201412

2015-01-03 Thread drEagle
Le 23/12/2014 13:01, Prafulla Wadaskar a écrit : > > >> -Original Message- >> From: drEagle [mailto:drea...@doukki.net] >> Sent: 23 December 2014 17:14 >> To: Prafulla Wadaskar >> Cc: u-boot@lists.denx.de; l...@openwrt.org >> Subject: Re: [U-Boot] [PATCH v3 0/6] SHEEVAPLUG : >> REFRESH 20

Re: [U-Boot] [PATCH v2 1/1] marvell: kirkwood: guruplug refresh for newer kernel

2015-01-03 Thread drEagle
Hi Prafulla, Any news of this patch ? Regards, Gérald Le 23/12/2014 14:04, drEagle a écrit : > Hi Prafulla, > > Is it okay also for this patch which is a GuruPlug refresh for same config as > the SheevaPlug one. > > Regards, > Gérald > > Le 19/12/2014 08:20, Gerald Kerma a écrit : >> Refresh

Re: [U-Boot] [PATCH v3 0/6] ARM: kirkwood: mvebu_mmc: Speed up access time

2015-01-03 Thread drEagle
Hi, any news for this patch ? Regards, Gérald, Le 23/12/2014 14:01, drEagle a écrit : > Hi Pantelis, > > Is these patches reviewed and upstreamed ? > > Regards, > Gérald > > Le 17/12/2014 11:18, Pantelis Antoniou a écrit : >> Hi Gerald, >> >> Last pull-req for mmc was last Friday, I intend to

Re: [U-Boot] [PATCH 12/12] arm: socfpga: Zap board_early_init_f()

2015-01-03 Thread Pavel Machek
On Wed 2014-12-31 20:15:00, Marek Vasut wrote: > Zap this unused empty function, no point in having it. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mf

Re: [U-Boot] [PATCH 11/12] arm: socfpga: Zap checkboard()

2015-01-03 Thread Pavel Machek
On Wed 2014-12-31 20:14:59, Marek Vasut wrote: > Since all boards now have a DT, instead of hard-coding the board > name into the U-Boot binary, read the board name from DT "model" > property. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen Acked-by: Pavel Machek -- (e

Re: [U-Boot] [PATCH 10/12] dt: socfpga: Import and enable Arria V DK DTS

2015-01-03 Thread Pavel Machek
On Wed 2014-12-31 20:14:58, Marek Vasut wrote: > Import DTS for Arria V development kit and enable support > for DT. The DT is imported from Linux 3.19-rc1 as of commit > 97bf6af1f928216fd6c5a66e8a57bfa95a659672 . > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen Acked-by:

Re: [U-Boot] [PATCH 09/12] dt: socfpga: Import and enable Cyclone V DK DTS

2015-01-03 Thread Pavel Machek
On Wed 2014-12-31 20:14:57, Marek Vasut wrote: > Import DTS for Cyclone V development kit and enable support > for DT. The DT is imported from Linux 3.19-rc1 as of commit > 97bf6af1f928216fd6c5a66e8a57bfa95a659672 . > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen Acked-by

Re: [U-Boot] [PATCH 08/12] dt: socfpga: Replace num-chipselect with num-cs

2015-01-03 Thread Pavel Machek
On Wed 2014-12-31 20:14:56, Marek Vasut wrote: > This optional DT property is called 'num-cs', so repair the misnomers. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://

Re: [U-Boot] [PATCH 07/12] dt: socfpga: Rename snps, dw-spi-mmio to snps, dw-apb-ssi

2015-01-03 Thread Pavel Machek
On Wed 2014-12-31 20:14:55, Marek Vasut wrote: > Linux now also contains SPI driver, yet the name is 'snps,dw-apb-ssi'. > Fix the naming before we have to support both names. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen Acked-by: Pavel Machek -- (english) http://www

Re: [U-Boot] [PATCH 06/12] arm: socfpga: Add Altera Arria V DK support

2015-01-03 Thread Pavel Machek
On Wed 2014-12-31 20:14:54, Marek Vasut wrote: > Add support for the Altera Arria V development kit. > > Signed-off-by: Marek Vasut > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc: Pavel Machek > Cc: Stefan Roese > Cc: Vince Bridgers > --- > arch/arm/Kconfig | 5 + > boar

Re: [U-Boot] Fwd: coreboot uboot qemu x86

2015-01-03 Thread Bin Meng
Hi Ajoy, On Sat, Jan 3, 2015 at 12:42 AM, Ajoy Das wrote: > > -- Forwarded message -- > From: Bin Meng > Date: Fri, Jan 2, 2015 at 10:05 PM > Subject: Re: [U-Boot] Fwd: coreboot uboot qemu x86 > To: Ajoy Das > Cc: U-Boot Mailing List , Simon Glass > > > > Hi Ajoy, > > On Wed, D

[U-Boot] [PATCH 3/3] x86: coreboot: Wrap cros_ec initialization

2015-01-03 Thread Bin Meng
cros_ec_board_init() should be called only when CONFIG_CROS_EC is enabled. Also undef CONFIG_CROS_EC in the coreboot configuration. Signed-off-by: Bin Meng --- board/coreboot/coreboot/coreboot.c | 2 ++ include/configs/coreboot.h | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-

[U-Boot] [PATCH 2/3] x86: Allow a hardcoded TSC frequency provided by Kconfig

2015-01-03 Thread Bin Meng
By default U-Boot automatically calibrates TSC running frequency via MSR and PIT. The calibration may not work on every x86 processor, so a new Kconfig option CONFIG_TSC_CALIBRATION_BYPASS is introduced to allow bypassing the calibration and assign a hardcoded TSC frequency CONFIG_TSC_FREQ_IN_MHZ.

[U-Boot] [PATCH 1/3] x86: coreboot: Setup timer base correctly

2015-01-03 Thread Bin Meng
If coreboot is built with CONFIG_COLLECT_TIMESTAMPS, use the value of base_time in coreboot's timestamp table as our timer base, otherwise TSC counter value will be used. Note sometimes even coreboot is built with CONFIG_COLLECT_TIMES, the value of base_time in the timestamp table is still zero, s

[U-Boot] [PATCH 0/3] x86: coreboot: Support running U-Boot in qemu

2015-01-03 Thread Bin Meng
Currently when U-Boot is loaded by coreboot in qemu, U-Boot does not boot due to several issues. This patch series fix these issues to make coreboot support in U-Boot more robust so that it can run on top of qemu out of the box. The command to package u-boot into coreboot.rom: ./build/util/cbfstoo

[U-Boot] [PATCH 2/2] config_cmd_default.h: wrap each definition in "ifndef"

2015-01-03 Thread Alexey Brodkin
Now with switch to Kconfig it's possible to select commands via menuconfig or defconfigs. Moreover some commands are enabled by default in both "config_cmd_default.h" as a legacy way and in "common/Kconfig". And on attempt to build U-Boot following warnings are printed for definitions made in bot

[U-Boot] [PATCH 1/2] common: mark commands as default to match "config_cmd_default.h"

2015-01-03 Thread Alexey Brodkin
Now when we may select commands via menuconfig let's adjust default settings with "config_cmd_default.h". As the next step we may get rid of "config_cmd_default.h" inclusion in "include/configs/*.h" and "config_cmd_default.h" itself. Signed-off-by: Alexey Brodkin Cc: Masahiro Yamada Cc: Tom Rin

[U-Boot] [PATCH 0/2] select default commands in Kconfig

2015-01-03 Thread Alexey Brodkin
Now when we may select commands via menuconfig let's adjust default settings with "config_cmd_default.h". As the next step we may get rid of "config_cmd_default.h" inclusion in "include/configs/*.h" and "config_cmd_default.h" itself. But while "config_cmd_default.h" is still there we need to work

Re: [U-Boot] [PATCH 12/12] arm: socfpga: Zap board_early_init_f()

2015-01-03 Thread Stefan Roese
On 31.12.2014 20:15, Marek Vasut wrote: Zap this unused empty function, no point in having it. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pavel Machek Cc: Stefan Roese Cc: Vince Bridgers Reviewed-by: Stefan Roese Thanks, Stefan __

Re: [U-Boot] [PATCH 11/12] arm: socfpga: Zap checkboard()

2015-01-03 Thread Stefan Roese
On 31.12.2014 20:14, Marek Vasut wrote: Since all boards now have a DT, instead of hard-coding the board name into the U-Boot binary, read the board name from DT "model" property. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pavel Machek Cc: Stefan Roese Cc: Vince Bridg

Re: [U-Boot] [PATCH 09/12] dt: socfpga: Import and enable Cyclone V DK DTS

2015-01-03 Thread Stefan Roese
On 31.12.2014 20:14, Marek Vasut wrote: Import DTS for Cyclone V development kit and enable support for DT. The DT is imported from Linux 3.19-rc1 as of commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672 . Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pavel Machek Cc: Stefan

Re: [U-Boot] [PATCH 10/12] dt: socfpga: Import and enable Arria V DK DTS

2015-01-03 Thread Stefan Roese
On 31.12.2014 20:14, Marek Vasut wrote: Import DTS for Arria V development kit and enable support for DT. The DT is imported from Linux 3.19-rc1 as of commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672 . Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pavel Machek Cc: Stefan R

Re: [U-Boot] [PATCH 07/12] dt: socfpga: Rename snps, dw-spi-mmio to snps, dw-apb-ssi

2015-01-03 Thread Stefan Roese
On 31.12.2014 20:14, Marek Vasut wrote: Linux now also contains SPI driver, yet the name is 'snps,dw-apb-ssi'. Fix the naming before we have to support both names. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pavel Machek Cc: Stefan Roese Cc: Vince Bridgers Reviewed-

Re: [U-Boot] [PATCH 05/12] arm: socfpga: Drop cyclone5 suffix from board file name

2015-01-03 Thread Stefan Roese
On 31.12.2014 20:14, Marek Vasut wrote: Drop the _cyclone5 suffix from socfpga_cyclone5.c since this file will contain Arria 5 support as well. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pavel Machek Cc: Stefan Roese Cc: Vince Bridgers Reviewed-by: Stefan Roese T

Re: [U-Boot] [PATCH 04/12] arm: socfpga: Add USB and UDC support for Cyclone V DK

2015-01-03 Thread Stefan Roese
On 31.12.2014 20:14, Marek Vasut wrote: Add support for USB host mode and USB device mode for the Cyclone V development kit and enable support for UMS (to export SD card as USB mass storage). The UMS is activated via 'ums 0 mmc 0' command, the system must be connected to a host PC via HPS USB por

Re: [U-Boot] [PATCH 03/12] arm: socfpga: Sync Cyclone V DK PLL configuration

2015-01-03 Thread Stefan Roese
On 31.12.2014 20:14, Marek Vasut wrote: Sync SoCFPGA Cyclone V development kit pinmux configuration with Rocketboard U-Boot v2013.01.01-114-g9381569 (ACDS14.1_REL_GSRD_PR). NOTE: This change is useless until we get proper SPL support, at which point this will likely need further rework.

Re: [U-Boot] [PATCH 02/12] arm: socfpga: Sync Cyclone V DK pinmux configuration

2015-01-03 Thread Stefan Roese
On 31.12.2014 20:14, Marek Vasut wrote: Sync SoCFPGA Cyclone V development kit pinmux configuration with Rocketboard U-Boot v2013.01.01-114-g9381569 (ACDS14.1_REL_GSRD_PR). Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pavel Machek Cc: Stefan Roese Cc: Vince Bridgers

Re: [U-Boot] [PATCH 01/12] arm: socfpga: Minor coding style fix

2015-01-03 Thread Stefan Roese
On 31.12.2014 20:14, Marek Vasut wrote: Replace multiple spaces with a single tab. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Pavel Machek Cc: Stefan Roese Cc: Vince Bridgers Reviewed-by: Stefan Roese Thanks, Stefan __