[U-Boot] [PATCH v3 3/3] x86: fsp: Move FspInitEntry call to board_init_f()

2015-06-06 Thread Bin Meng
The call to FspInitEntry is done in arch/x86/lib/fsp/fsp_car.S so far. It worked pretty well but looks not that good. Apart from doing too much work than just enabling CAR, it cannot read the configuration data from device tree at that time. Now we want to move it a little bit later as part of init

[U-Boot] [PATCH v3 2/3] x86: fsp: Load GDT before calling FspInitEntry

2015-06-06 Thread Bin Meng
Currently the FSP execution environment GDT is setup by U-Boot in arch/x86/cpu/start16.S, which works pretty well. But if we try to move the FspInitEntry call a little bit later to better fit into U-Boot's initialization sequence, FSP will fail to bring up the AP due to #GP fault as AP's GDT is dup

[U-Boot] [PATCH v3 1/3] x86: Add Kconfig options to be used by arch/x86/cpu/config.mk

2015-06-06 Thread Bin Meng
Add RESET_SEG_START, RESET_SEG_SIZE and RESET_VEC_LOC Kconfig options and make arch/x86/cpu/config.mk use these options. Signed-off-by: Bin Meng Acked-by: Simon Glass Tested-by: Andrew Bradford Tested-by: Simon Glass --- Changes in v3: None Changes in v2: - New patch to add Kconfig options t

Re: [U-Boot] [PATCH v3] mx6_common: Fix LOADADDR and SYS_TEXT_BASE for MX6SL and MX6SX

2015-06-06 Thread Fabio Estevam
Forgot to add Stefano on Cc. On Sat, Jun 6, 2015 at 4:11 PM, Fabio Estevam wrote: > Hi Stefano, > > On Thu, May 28, 2015 at 12:54 PM, Vincent Stehlé > wrote: >> On 05/28/2015 05:33 PM, Fabio Estevam wrote: >> .. >>> Build tested only >> >> Hi Fabio, >> >> Thank you for that fix. I did not realiz

Re: [U-Boot] [PATCH v3] mx6_common: Fix LOADADDR and SYS_TEXT_BASE for MX6SL and MX6SX

2015-06-06 Thread Fabio Estevam
Hi Stefano, On Thu, May 28, 2015 at 12:54 PM, Vincent Stehlé wrote: > On 05/28/2015 05:33 PM, Fabio Estevam wrote: > .. >> Build tested only > > Hi Fabio, > > Thank you for that fix. I did not realize you had a patch "on-going" > when sending mine; sorry. Your solution is cleaner and more generic

Re: [U-Boot] [RFC 09/11] sunxi/nand: Enable UBI and NAND commands

2015-06-06 Thread Ian Campbell
On Sat, 2015-06-06 at 17:13 +0200, Hans de Goede wrote: > > @@ -113,7 +113,7 @@ > > #endif > > > > /* 4MB of malloc() pool */ > > -#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (4 << 20)) > > +#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (64 << 20)) > > > > /*

Re: [U-Boot] [RFC 09/11] sunxi/nand: Enable UBI and NAND commands

2015-06-06 Thread Hans de Goede
Hi, On 05-06-15 13:52, Roy Spliet wrote: Signed-off-by: Roy Spliet --- board/sunxi/Kconfig| 8 +++- drivers/mtd/Makefile | 1 + include/configs/sunxi-common.h | 33 + 3 files changed, 29 insertions(+), 13 deletions(-) diff --git

Re: [U-Boot] [RFC] Sunxi NAND support for U-Boot

2015-06-06 Thread Hans de Goede
Hi, On 05-06-15 13:52, Roy Spliet wrote: Following up on earlier SPL patches, here a series based on Yassin Jaffer's work to bring NAND support to U-boot. RFC because I know that the sunxi nand configuration options are dependent on a work-in-progress by Daniel - trying to deliver a single SPL f

Re: [U-Boot] [RFC] Sunxi NAND support for U-Boot

2015-06-06 Thread Hans de Goede
Hi Roy, Thanks for your work on this! On 05-06-15 13:52, Roy Spliet wrote: Following up on earlier SPL patches, here a series based on Yassin Jaffer's work to bring NAND support to U-boot. RFC because I know that the sunxi nand configuration options are dependent on a work-in-progress by Daniel

Re: [U-Boot] [PATCH v3 follow-up 3/3] sunxi: Remove redundant check from `board_mmc_init` for signature

2015-06-06 Thread Hans de Goede
Hi, On 29-05-15 17:21, Daniel Kochmański wrote: Removes checking for signature on mmc devices, because it is done on `spl_boot_device`. This is follow-up patch to V3. We actually still need the swapping in this code-path in u-boot proper, so as to make sure that when booting from an emmc we ma

Re: [U-Boot] [PATCH v3 2/3] sunxi/spl: Detect at runtime where from SPL was read

2015-06-06 Thread Hans de Goede
Hi, On 29-05-15 16:55, Daniel Kochmański wrote: Make possible using single `u-boot-sunxi-with-spl.bin` binary for both NAND memory and SD card. Detection where SPL was read from is implemented in `spl_boot_device`. V2: - Move signature verification to helper function - Avoid unnecessary conditi

Re: [U-Boot] [PATCH v3 1/3] sunxi: Create helper function veryfing valid boot signature on MMC

2015-06-06 Thread Hans de Goede
Hi, On 29-05-15 16:55, Daniel Kochmański wrote: This patch extracts checking for valid SD card "eGON.BT0" signature from `board_mmc_init` into function `sunxi_mmc_has_egon_boot_signature`. Buffer for mmc sector is allocated and freed at runtime. `panic` is triggered on malloc failure. Signed-o

[U-Boot] [PATCH 1/2] net: Improve 88E151x PHY initialization

2015-06-06 Thread Clemens Gruber
- The EEE fixup magic should also be enabled for RGMII - Improved comments Signed-off-by: Clemens Gruber Cc: Joe Hershberger Cc: Hao Zhang Cc: Michal Simek --- drivers/net/phy/marvell.c | 37 +++-- 1 file changed, 23 insertions(+), 14 deletions(-) diff --git a

[U-Boot] [PATCH 2/2] net: Add support for Marvell 88E1510 PHY

2015-06-06 Thread Clemens Gruber
Support the 88E1510 PHY which is very similar to the 88E1518. I also set the INTn output and configured the LEDs. Signed-off-by: Clemens Gruber Cc: Joe Hershberger Cc: Hao Zhang Cc: Michal Simek --- This replaces the previously sent patch http://patchwork.ozlabs.org/patch/478488/ --- drivers

[U-Boot] [PATCH 0/2] net: Support Marvell 88E1510 and fix 88E151x init

2015-06-06 Thread Clemens Gruber
Hi, I improved the Errata fixup for Marvell 88E151x Ethernet PHYs and added support for the 88E1510 which is very similar to the 88E1518. I also configured the LEDs and the INTn output for the 88E1510. Best regards, Clemens Gruber Clemens Gruber (2): net: Improve 88E151x PHY initialization n

Re: [U-Boot] image-fit: Fix compiler warning in fit_conf_print()

2015-06-06 Thread Tom Rini
On Fri, May 29, 2015 at 03:09:48PM +0200, Hans de Goede wrote: > This fixes the following compiler warning: > > In file included from tools/common/image-fit.c:1:0: > ./tools/../common/image-fit.c: In function ‘fit_conf_print’: > ./tools/../common/image-fit.c:1470:27: warning: logical not is only

Re: [U-Boot] Please pull u-boot-x86

2015-06-06 Thread Tom Rini
On Fri, Jun 05, 2015 at 08:18:31AM -0600, Simon Glass wrote: > Hi Tom, > > This includes QEMU support, PIRQ routing using device tree and pinctrl > using device tree. > > > The following changes since commit d8abb46b37fadff0349adb376df6d3ecd09ee7d1: > > board/BuR/common: fix netconsole (2015

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

2015-06-06 Thread Tom Rini
On Sat, Jun 06, 2015 at 11:29:54AM +0200, Hans de Goede wrote: > Hi Tom, > > Please pull u-boot-sunxi/master into master for a number of > bugfixes and a sync of the sunxi dts files with the upstream > kernel. > > Note this pull-req also includes the patch for setting > CONFIG_CMD_NET and CONFIG

Re: [U-Boot] Please pull u-boot-fdt

2015-06-06 Thread Tom Rini
On Fri, Jun 05, 2015 at 10:08:53AM -0600, Simon Glass wrote: > Hi Tom, > > A few things I found in patchwork. > > > The following changes since commit d8abb46b37fadff0349adb376df6d3ecd09ee7d1: > > board/BuR/common: fix netconsole (2015-06-02 12:58:51 -0400) > > are available in the git repo

Re: [U-Boot] Please pull u-boot-dm

2015-06-06 Thread Tom Rini
On Fri, Jun 05, 2015 at 08:20:29AM -0600, Simon Glass wrote: > Hi Tom, > > This includes some fixes and tidy-ups, mostly for sandbox. > > > The following changes since commit d8abb46b37fadff0349adb376df6d3ecd09ee7d1: > > board/BuR/common: fix netconsole (2015-06-02 12:58:51 -0400) > > are a

Re: [U-Boot] [PATCH 0/6] Remove sh boards that we have no tool-chain for.

2015-06-06 Thread Masahiro Yamada
Hi Joe, 2015-05-11 17:40 GMT+09:00 Phil Edworthy : > Hi Joe, > >> -Original Message- >> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Joe >> Hershberger >> Sent: 10 May 2015 21:23 >> To: u-boot@lists.denx.de >> Cc: Rob Herring; Thierry Reding; Stephen Warren; Joe Hershb

Re: [U-Boot] [PATCH v3 3/3] mmc: Protect `mmc_initialize` from initilizing mmc multiple times

2015-06-06 Thread Hans de Goede
Hi, On 29-05-15 16:55, Daniel Kochmański wrote: `mmc_initialize` might be called from various places and initializing list head of `mmc_devices` can lead to memory leaks. Signed-off-by: Daniel Kochmański CC: Roy Spliet Cc: Ian Campbell Cc: Hans De Goede CC: Pantelis Antoniou Thanks I've

Re: [U-Boot] image-fit: Fix compiler warning in fit_conf_print()

2015-06-06 Thread Hans de Goede
Hi All, On 29-05-15 15:09, Hans de Goede wrote: This fixes the following compiler warning: In file included from tools/common/image-fit.c:1:0: ./tools/../common/image-fit.c: In function ‘fit_conf_print’: ./tools/../common/image-fit.c:1470:27: warning: logical not is only applied to the left h

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

2015-06-06 Thread Hans de Goede
Hi Tom, Please pull u-boot-sunxi/master into master for a number of bugfixes and a sync of the sunxi dts files with the upstream kernel. Note this pull-req also includes the patch for setting CONFIG_CMD_NET and CONFIG_CMD_SETEXPR to y by default, I know that is still being discussed, but this pa

[U-Boot] [PATCH] dm: usb.h: Always declare usb func. prototypes when CONFIG_DM_USB=y

2015-06-06 Thread Hans de Goede
When CONFIG_DM_USB=y the various usb functions are available regardless of any controller drivers being enabled, so always the usb function prototypes when CONFIG_DM_USB=y. This fixes compile warnings due to missing prototypes on ARCHs where the ARCH Kconfig always enables CONFIG_DM_USB and variou