Re: [U-Boot] [PATCH 1/4] armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY

2015-11-10 Thread Tom Warren
Thanks, Tom. > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Monday, November 09, 2015 4:36 PM > To: Tom Warren > Cc: Albert ARIBAUD ; swar...@wwwdotorg.org; u- > b...@lists.denx.de; Simon Glass ;

Re: [U-Boot] [PATCH] Makefile: Include vendor common library in include search path

2015-11-10 Thread Nishanth Menon
On 12:25-20151110, Masahiro Yamada wrote: > 2015-11-10 5:24 GMT+09:00 Simon Glass <s...@chromium.org>: > >>> I am unhappy because I was hoping > >>> we could stop creating symbolic links during building > >>> in a long run. > > > > Bu

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Simon Glass
Hi Fabio, On 10 November 2015 at 06:50, Fabio Estevam wrote: > Hi Simon, > > On Tue, Nov 10, 2015 at 12:41 PM, Simon Glass wrote: > >> We're at the very start the release process, so I wonder if we can try >> to figure out what is wrong here? >> >> Is it

Re: [U-Boot] [PATCH] Makefile: Include vendor common library in include search path

2015-11-10 Thread Nishanth Menon
On 11/10/2015 08:55 AM, Nishanth Menon wrote: > On 12:25-20151110, Masahiro Yamada wrote: >> 2015-11-10 5:24 GMT+09:00 Simon Glass <s...@chromium.org>: >>>>> I am unhappy because I was hoping >>>>> we could stop creating symbolic links during building

[U-Boot] [PATCH] ls1043ardb: Add missing config entries to MAINTAINERS

2015-11-10 Thread Fabio Estevam
ls1043ardb_nand_defconfig and ls1043ardb_sdcard_defconfig are missing in the MAINTAINERS file, so add them for completeness. Reported-by: Albert Aribaud Signed-off-by: Fabio Estevam --- board/freescale/ls1043ardb/MAINTAINERS | 2 ++ 1

Re: [U-Boot] [PATCH v2 1/2] nios2: rename board nios2-generic to 3c120_devboard

2015-11-10 Thread Marek Vasut
On Tuesday, November 10, 2015 at 03:48:40 PM, Thomas Chou wrote: > Rename board nios2-generic to 3c120_devboard. Since nios2 is > converted to driver model and device tree control of u-boot, > the nios2-generic board directory is removed. We can rename > the board back to a real board name. Now

Re: [U-Boot] [PATCH] ls1043ardb: Add missing config entries to MAINTAINERS

2015-11-10 Thread Albert ARIBAUD
Hello York, On Tue, 10 Nov 2015 08:36:17 -0800, York Sun wrote: > > > On 11/10/2015 07:44 AM, Albert ARIBAUD wrote: > > Hello Fabio, > > > > On Tue, 10 Nov 2015 13:41:03 -0200, Fabio Estevam > > wrote: > >> ls1043ardb_nand_defconfig and

[U-Boot] [PATCH v2 2/2] nios2: add 3c120 and 10m50 devboards MAINTAINERS

2015-11-10 Thread Thomas Chou
Add 3c120 and 10m50 devboards MAINTAINERS Signed-off-by: Thomas Chou --- board/altera/nios2/MAINTAINERS | 13 + 1 file changed, 13 insertions(+) create mode 100644 board/altera/nios2/MAINTAINERS diff --git a/board/altera/nios2/MAINTAINERS

Re: [U-Boot] [PATCH 1/4] armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY

2015-11-10 Thread Albert ARIBAUD
Hello Tom, Switching to these ASAP. :) On Tue, 10 Nov 2015 15:54:58 +, Tom Warren wrote: > Thanks, Tom. > > > -Original Message- > > From: Tom Rini [mailto:tr...@konsulko.com] > > Sent: Monday, November 09, 2015 4:36 PM > > To: Tom Warren >

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Fabio Estevam
Hi Simon, On Tue, Nov 10, 2015 at 12:41 PM, Simon Glass wrote: > We're at the very start the release process, so I wonder if we can try > to figure out what is wrong here? > > Is it because malloc() is not working, perhaps? Yes, exactly. malloc() is not working. Issue

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Albert ARIBAUD
Hello Simon, On Tue, 10 Nov 2015 06:41:25 -0800, Simon Glass wrote: > Hi Fabio, > > On 10 November 2015 at 04:40, Fabio Estevam > wrote: > > This reverts commit 5ba534d247d418e09c5b4fe5fb7fa780aac08e49. > > > > This commit causes cgtqmx6eval to

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Fabio Estevam
On Tue, Nov 10, 2015 at 1:21 PM, Simon Glass wrote: > Is this patch against mainline or does your tree have other changes? This change is against a clean mainline tree. >> /* DDR initialization */ >> spl_dram_init(); >> >> It is the ame issue I reported back in

Re: [U-Boot] [PATCH] ls1043ardb: Add missing config entries to MAINTAINERS

2015-11-10 Thread York Sun
On 11/10/2015 07:44 AM, Albert ARIBAUD wrote: > Hello Fabio, > > On Tue, 10 Nov 2015 13:41:03 -0200, Fabio Estevam > wrote: >> ls1043ardb_nand_defconfig and ls1043ardb_sdcard_defconfig are missing >> in the MAINTAINERS file, so add them for completeness. >> >>

Re: [U-Boot] [PATCH v2 4/5] armv7/fsl-ls102xa: Workaround for DDR erratum A008514

2015-11-10 Thread York Sun
On 11/10/2015 05:18 AM, Yuan Yao-B46683 wrote: > Thanks york, > > So it seems I should moving the workaround out of DDR driver in "gen4" to SoC. > I think the workaround is not just only for ddr4. > And It should be as a workaround for the SOC. Please make the patch if you are comfortable.

[U-Boot] [PATCH v2 1/2] nios2: rename board nios2-generic to 3c120_devboard

2015-11-10 Thread Thomas Chou
Rename board nios2-generic to 3c120_devboard. Since nios2 is converted to driver model and device tree control of u-boot, the nios2-generic board directory is removed. We can rename the board back to a real board name. Now the boards maintained in u-boot mainline are the same as Linux kernel,

Re: [U-Boot] [PATCH] ls1043ardb: Add missing config entries to MAINTAINERS

2015-11-10 Thread Albert ARIBAUD
Hello Fabio, On Tue, 10 Nov 2015 13:41:03 -0200, Fabio Estevam wrote: > ls1043ardb_nand_defconfig and ls1043ardb_sdcard_defconfig are missing > in the MAINTAINERS file, so add them for completeness. > > Reported-by: Albert Aribaud >

Re: [U-Boot] [PATCH v2] omap3: cm-t3517: add board specific get_board_rev()

2015-11-10 Thread Igor Grinberg
On 11/10/15 15:17, Dmitry Lifshitz wrote: > CM-T3517 has several HW revisions. > Add board specific get_board_rev() callback to retrieve revision number. > > Signed-off-by: Dmitry Lifshitz Reviewed-by: Igor Grinberg > --- > > Igor, Tom > >

Re: [U-Boot] [PATCH v4 00/33] dm: Introduce Rockchip RK3288 support

2015-11-10 Thread Simon Glass
Hi, On 9 November 2015 at 19:34, c...@rock-chips.com wrote: > > Hi Simon, > > Thank you so much for your response. > > If there is no new framework, I may first follow the following API which > U-boot has defined > in the file include/common.h, such as: > > /*

[U-Boot] Pull request: u-boot-arm/master

2015-11-10 Thread Albert ARIBAUD
Hello Tom, The following changes since commit e490ad25eb3dc4f075ed33b4b00b1f97071fcf3d: ARM64: zynqmp: Sync zynq_sdhci_init() declaration (2015-11-07 08:17:54 -0500) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to

[U-Boot] [PATCH v2] Fix board init code to use a valid C runtime environment

2015-11-10 Thread Albert ARIBAUD
board_init_f_mem() alters the C runtime environment's stack it ls actually already using. This is not a valid C runtime environment. Split board_init_f_mem into C functions which do not alter their own stack and therefore run in a valid C runtime environment. Signed-off-by: Albert ARIBAUD

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread Scott Wood
On Tue, 2015-11-10 at 11:17 -0800, York Sun wrote: > Primary Protected Application (PPA) is the base of TrustZone for > Freescale Layerscape SoCs. It needs to run in secure memory while > the rest of u-boot can run in non-secure memory. The secure memory > is reserved at the very end of DDR,

Re: [U-Boot] [PATCH 1/2][v2] armv8: LS2080A: Rename LS2085A to reflect LS2080A

2015-11-10 Thread York Sun
On 11/09/2015 03:12 AM, Prabhakar Kushwaha wrote: > LS2080A is a prime personality of Freescale’s LS2085A. It is a non-AIOP > personality without support of DP-DDR, L2 switch, 1588, PCIe endpoint etc. > So renaming existing LS2085A code base to reflect LS2080A (Prime personality) > >

[U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread York Sun
Primary Protected Application (PPA) is the base of TrustZone for Freescale Layerscape SoCs. It needs to run in secure memory while the rest of u-boot can run in non-secure memory. The secure memory is reserved at the very end of DDR, before debug server and MC reservations. The address varies

[U-Boot] [RFC PATCH v1 2/2] armv8: fsl-layerscape: Make DDR non secure in MMU tables

2015-11-10 Thread York Sun
DDR has been set as secure in MMU tables. Non-secure master such as SDHC DMA cannot access data correctly. Mixing secure and non- secure MMU entries requirs the MMU tables themselves in secure memory. This patch moves MMU tables into a secure DDR area reserved for TrustZone with size

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread York Sun
On 11/10/2015 11:31 AM, Scott Wood wrote: > On Tue, 2015-11-10 at 11:17 -0800, York Sun wrote: >> Primary Protected Application (PPA) is the base of TrustZone for >> Freescale Layerscape SoCs. It needs to run in secure memory while >> the rest of u-boot can run in non-secure memory. The secure

[U-Boot] [PATCH 03/17] eeprom: Zap CONFIG_SYS_I2C_MULTI_EEPROMS

2015-11-10 Thread Marek Vasut
This option only complicates the code unnecessarily, just use CONFIG_SYS_DEF_EEPROM_ADDR as the default address if there are only five arguments to eeprom {read/write} if this is defined. If CONFIG_SYS_DEF_EEPROM_ADDR is not defined, we mandate all six arguments. Signed-off-by: Marek Vasut

[U-Boot] [PATCH 09/17] eeprom: Make eeprom_write_enable() weak

2015-11-10 Thread Marek Vasut
Make this function weak and implement it's weak implementation so that the boards can just reimplement it. This zaps the horrid CONFIG_SYS_EEPROM_WREN macro. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher

[U-Boot] [PATCH 17/17] eeprom: Clean up checkpatch issues

2015-11-10 Thread Marek Vasut
Cosmetic fixes to the file, make it checkpatch clean. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- common/cmd_eeprom.c | 19 ++- 1 file changed, 10 insertions(+), 9

[U-Boot] [PATCH 02/17] eeprom: Shuffle code around

2015-11-10 Thread Marek Vasut
Just move the code around so that the forward declarations are not necessary. Also zap a few checkpatch issues where applicable and zap the use of #ifdef CONFIG_CMD_EEPROM in the code, since this is always true. Signed-off-by: Marek Vasut Cc: Simon Glass Cc:

[U-Boot] [PATCH 06/17] eeprom: Zap CONFIG_SPI_X

2015-11-10 Thread Marek Vasut
This macro is no longer used, so just reap it. Signed-off-by: Marek Vasut Cc: Tom Rini Cc: Simon Glass Cc: Heiko Schocher --- README | 5 - common/cmd_eeprom.c | 8 2 files changed, 4 insertions(+),

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread York Sun
On 11/10/2015 11:52 AM, Wolfgang Denk wrote: > Dear York, > > In message <5642490c.9090...@freescale.com> you wrote: >> +- CONFIG_FSL_PPA_RESERVED_DRAM_SIZE + If defined, this is reserved in highest address as secure memory >>> >>> What is Freescale-specific about the concept of

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread York Sun
On 11/10/2015 11:51 AM, Scott Wood wrote: > On Tue, 2015-11-10 at 11:44 -0800, York Sun wrote: >> >> On 11/10/2015 11:31 AM, Scott Wood wrote: >>> On Tue, 2015-11-10 at 11:17 -0800, York Sun wrote: Primary Protected Application (PPA) is the base of TrustZone for Freescale Layerscape

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Fabio Estevam
On Tue, Nov 10, 2015 at 1:38 PM, Fabio Estevam wrote: >> Are you using CONFIG_SYS_MALLOC_F? > > No, I am not, but I have also tried adding CONFIG_SYS_MALLOC_F_LEN > inside configs/mx6sabresd_spl_defconfig, but it did not help. Sorry, you asked for CONFIG_SYS_MALLOC_F. I do

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Simon Glass
Hi Fabio, On 10 November 2015 at 14:23, Fabio Estevam wrote: > Hi Simon, > > On Tue, Nov 10, 2015 at 7:19 PM, Simon Glass wrote: > >> Then I wonder why malloc() is failing? Is it because there is too much > > In the example I sent I only allocate 64 bytes.

[U-Boot] [PATCH 14/17] eeprom: Pull out the RW loop

2015-11-10 Thread Marek Vasut
Unify the code for doing read/write into single function, since the code for both the read and write is almost identical. This again trims down the code duplication. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher

[U-Boot] [PATCH 01/17] tricorder: rewrite tricordereeprom command

2015-11-10 Thread Marek Vasut
From: Andreas Bießmann This rewrite uses lately promoted eeprom_init(int) function to choose the right I2C bus when writing data to the EEPROM. Signed-off-by: Andreas Bießmann Cc: Marek Vasut Cc: Simon Glass

[U-Boot] [PATCH 07/17] eeprom: Pull out the I/O code

2015-11-10 Thread Marek Vasut
Pull out the code which does the I2C or SPI read/write, so that the beefy ifdef around it is contained in a single function. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- common/cmd_eeprom.c

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Simon Glass
Hi Fabio, On 10 November 2015 at 14:16, Fabio Estevam wrote: > On Tue, Nov 10, 2015 at 1:38 PM, Fabio Estevam wrote: > >>> Are you using CONFIG_SYS_MALLOC_F? >> >> No, I am not, but I have also tried adding CONFIG_SYS_MALLOC_F_LEN >> inside

[U-Boot] [PATCH V2] arm: novena: Switch novena to config_distro_bootcmd

2015-11-10 Thread Marek Vasut
From: Vagrant Cascadian Switch Novena to distro bootcmd, so it can be used with debian easily. Signed-off-by: Vagrant Cascadian Signed-off-by: Marek Vasut Cc: Sean Cross Cc: Stefano Babic ---

Re: [U-Boot] [PATCH] arm: novena: Switch novena to config_distro_bootcmd

2015-11-10 Thread Marek Vasut
On Tuesday, November 10, 2015 at 09:54:52 PM, Vagrant Cascadian wrote: > On 2015-11-10, Marek Vasut wrote: > > Switch Novena to distro bootcmd, so it can be used with debian easily. > > ... > > > diff --git a/include/configs/novena.h b/include/configs/novena.h > > index 718989f..b0f4c02 100644 >

[U-Boot] [PATCH 15/17] eeprom: Add bus argument to eeprom_init()

2015-11-10 Thread Marek Vasut
Add bus argument to eeprom_init(), so that it can select the I2C bus number on which the eeprom resides. Any negative value of the $bus argument will preserve the old behavior. This is in place so that old code does not randomly break. Signed-off-by: Marek Vasut Cc: Simon Glass

[U-Boot] [PATCH 16/17] eeprom: Add support for selecting i2c bus

2015-11-10 Thread Marek Vasut
Add additional parameter into the eeprom command to select the I2C bus on which the eeprom resides. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- common/cmd_eeprom.c | 15 +++ 1

[U-Boot] [PATCH 12/17] eeprom: Pull out CONFIG_SYS_EEPROM_PAGE_WRITE_BITS

2015-11-10 Thread Marek Vasut
Implement default value of 8 for this macro and pull out all of this macro out of the code. The default value of 8 actually does implement exactly the same behavior as the previous code which was in the #else clause of the ifdef. Signed-off-by: Marek Vasut Cc: Simon Glass

Re: [U-Boot] Pull request: u-boot-arm/master

2015-11-10 Thread Tom Rini
On Tue, Nov 10, 2015 at 06:45:40PM +0100, Albert ARIBAUD wrote: > Hello Tom, > > The following changes since commit e490ad25eb3dc4f075ed33b4b00b1f97071fcf3d: > > ARM64: zynqmp: Sync zynq_sdhci_init() declaration (2015-11-07 08:17:54 > -0500) > > are available in the git repository at: > >

Re: [U-Boot] [PATCH v3] net: phy: Add support for Texas Instruments DP83867

2015-11-10 Thread Joe Hershberger
Hi Michal, On Tue, Nov 10, 2015 at 7:00 AM, Michal Simek wrote: > > From: "Edgar E. Iglesias" > > Code is taken from Linux kernel driver (v4.2). > > Signed-off-by: Edgar E. Iglesias > Signed-off-by: Michal Simek

Re: [U-Boot] [U-Boot, v2] mpc85xx/u-boot*.lds: remove _GLOBAL_OFFSET_TABLE_ definition

2015-11-10 Thread Tom Rini
On Sun, Oct 25, 2015 at 10:32:28AM +0530, Prabhakar Kushwaha wrote: > From: Zhenhua Luo > > In binutils-2.25, the _GLOBAL_OFFSET_TABLE_ symbols defined by PROVIDE in > u-boot.lds overrides the linker built-in symbols >

Re: [U-Boot] [PATCH] powerpc: Finish updating u-boot*lds scripts for newer binutils

2015-11-10 Thread Tom Rini
On Tue, Nov 10, 2015 at 09:18:50AM -0500, Tom Rini wrote: > In 522b021 we dropped 'PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4)' lines in > the mpc85xx linker scripts as this is not required and breaks newer > binutils. This commit cleans up the rest of the powerpc linker scripts. > > Signed-off-by:

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Fabio Estevam
Hi Simon, On Tue, Nov 10, 2015 at 7:19 PM, Simon Glass wrote: > Then I wonder why malloc() is failing? Is it because there is too much In the example I sent I only allocate 64 bytes. malloc() does fail even if I decrease this number. > being allocated, or is the simple

[U-Boot] [PATCH 11/17] eeprom: Suck the ifdef into eeprom_init()

2015-11-10 Thread Marek Vasut
Just suck the ugly ifdef around eeprom_init() call into eeprom_init() function itself. This puts all of the ifdef mess into one place. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher ---

[U-Boot] [PATCH 10/17] eeprom: Pull out CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS

2015-11-10 Thread Marek Vasut
Pull this macro to the beginning of the cmd_eeprom.c and remove another nasty ifdef from the code. Note that this is legal, since udelay(0) changes the behavior only such that it pings the WDT if WDT is enabled and otherwise does not wait. Signed-off-by: Marek Vasut Cc: Simon

[U-Boot] [PATCH 04/17] eeprom: Zap CONFIG_SYS_EEPROM_X40430

2015-11-10 Thread Marek Vasut
Now that the only user of CONFIG_SYS_EEPROM_X40430 was removed, remove this unused code from cmd_eeprom.c Signed-off-by: Marek Vasut Cc: Tom Rini Cc: Simon Glass Cc: Heiko Schocher --- common/cmd_eeprom.c | 94

Re: [U-Boot] [PATCH] Fix board init code to use a valid C runtime environment

2015-11-10 Thread Simon Glass
Hi Albert, On 9 November 2015 at 17:20, Albert ARIBAUD wrote: > board_init_f_mem() alters the C runtime environment's > stack it ls actually already using. This is not a valid > C runtime environment and may conflict with the C compiler's > expectations. > > Split

Re: [U-Boot] [PATCH] board/ti: Update MAINTAINERS entries with more boards

2015-11-10 Thread Tom Rini
On Tue, Nov 10, 2015 at 09:14:38AM -0500, Tom Rini wrote: > A few config files have been added without updating MAINTAINERS. > > Reported-by: Albert ARIBAUD > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] Replace "extern inline" with "static inline"

2015-11-10 Thread Tom Rini
On Fri, Nov 06, 2015 at 12:44:01PM +, Måns Rullgård wrote: > A number of headers define functions as "extern inline" which is > causing problems with gcc5. The reason is that starting with > version 5.1, gcc defaults to the standard C99 semantics for the > inline keyword. > > Under the

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Fabio Estevam
On Tue, Nov 10, 2015 at 7:29 PM, Simon Glass wrote: > Are you able to check what is happening in malloc_simple()? It is a > really simple function. Yes, I turned on debug inside malloc_simple() and it returns NULL: U-Boot SPL 2015.10-00523-ge490ad2-dirty (Nov 10 2015 -

Re: [U-Boot] [RFC PATCH] tricorder: rewrite tricordereeprom command

2015-11-10 Thread Marek Vasut
On Tuesday, November 04, 2014 at 05:01:47 PM, Andreas Bießmann wrote: > This rewrite uses lately promoted eeprom_init(int) function to choose the > right I2C bus when writing data to the EEPROM. > > Signed-off-by: Andreas Bießmann > Cc: Marek Vasut

[U-Boot] [PATCH] arm: novena: Switch novena to config_distro_bootcmd

2015-11-10 Thread Marek Vasut
From: Vagrant Cascadian Switch Novena to distro bootcmd, so it can be used with debian easily. Signed-off-by: Vagrant Cascadian Signed-off-by: Marek Vasut Cc: Sean Cross Cc: Stefano Babic ---

[U-Boot] [PATCH] arm: novena: Fix kernel_addr_r env variable

2015-11-10 Thread Marek Vasut
The kernel_addr_r should be set to the same value as CONFIG_LOADADDR, get rid of the duplication. Signed-off-by: Marek Vasut Cc: Sean Cross Cc: Stefano Babic --- include/configs/novena.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [U-Boot] [PATCH] net: phy: added aquantia PHY AQR405 support

2015-11-10 Thread Joe Hershberger
On Tue, Nov 10, 2015 at 5:16 AM, wrote: > From: Shaohui Xie > > The phy can share driver with other aquantia PHYs, so we only added PHY > ID. > > Signed-off-by: Shaohui Xie Acked-by: Joe Hershberger

Re: [U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Simon Glass
Hi Fabio, On 10 November 2015 at 14:47, Fabio Estevam wrote: > On Tue, Nov 10, 2015 at 7:29 PM, Simon Glass wrote: > >> Are you able to check what is happening in malloc_simple()? It is a >> really simple function. > > Yes, I turned on debug inside

[U-Boot] [PATCH 05/17] eeprom: Zap eeprom_probe()

2015-11-10 Thread Marek Vasut
Remove this function as it's no longer used. Signed-off-by: Marek Vasut Cc: Tom Rini Cc: Simon Glass Cc: Heiko Schocher --- common/cmd_eeprom.c | 19 --- include/common.h| 3 --- 2 files changed, 22

[U-Boot] [PATCH 08/17] eeprom: Pull out address computation

2015-11-10 Thread Marek Vasut
Pull out the code computing the EEPROM address into separate function so that it's not duplicated. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher --- common/cmd_eeprom.c | 64

[U-Boot] [PATCH 13/17] eeprom: Pull out transfer length computation

2015-11-10 Thread Marek Vasut
Pull out the code which computes the length of the transfer into separate code and clean it up a little. This again trims down the code duplication. Signed-off-by: Marek Vasut Cc: Simon Glass Cc: Tom Rini Cc: Heiko Schocher

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread Wolfgang Denk
Dear York, In message <5642490c.9090...@freescale.com> you wrote: > > >> +- CONFIG_FSL_PPA_RESERVED_DRAM_SIZE > >> + If defined, this is reserved in highest address as secure memory > > > > What is Freescale-specific about the concept of reserving memory for a > > secure > > monitor? > > The

Re: [U-Boot] [RFC PATCH v1 1/2] armv8: fsl-layerscape: Reserve memory for PPA

2015-11-10 Thread Scott Wood
On Tue, 2015-11-10 at 11:44 -0800, York Sun wrote: > > On 11/10/2015 11:31 AM, Scott Wood wrote: > > On Tue, 2015-11-10 at 11:17 -0800, York Sun wrote: > > > Primary Protected Application (PPA) is the base of TrustZone for > > > Freescale Layerscape SoCs. It needs to run in secure memory while >

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-10 Thread Simon Glass
Hi Hans, On 9 November 2015 at 12:25, Simon Glass wrote: > Hi Hans, > > On 9 November 2015 at 00:22, Hans de Goede wrote: >> Hi, >> >> On 09-11-15 07:48, Simon Glass wrote: >>> >>> Each scan of the USB bus may return different results. Existing >>>

[U-Boot] [PATCH v3 2/3] nios2: change README.nios2 to use 10m50 as template

2015-11-10 Thread Thomas Chou
The 10m50 devboard becomes the new golden reference design of Nios II Linux. So change README.nios2 to use 10m50 as template. Signed-off-by: Thomas Chou --- v3 use 10m50 as template. doc/README.nios2 | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-)

[U-Boot] [PATCH v3 3/3] nios2: add 3c120 and 10m50 devboards MAINTAINERS

2015-11-10 Thread Thomas Chou
Add 3c120 and 10m50 devboards MAINTAINERS Signed-off-by: Thomas Chou --- board/altera/nios2/MAINTAINERS | 13 + 1 file changed, 13 insertions(+) create mode 100644 board/altera/nios2/MAINTAINERS diff --git a/board/altera/nios2/MAINTAINERS

[U-Boot] [PATCH v3 1/3] nios2: rename board nios2-generic to 3c120_devboard

2015-11-10 Thread Thomas Chou
Rename board nios2-generic to 3c120_devboard. Since nios2 is converted to driver model and device tree control of u-boot, the nios2-generic board directory is removed. We can rename the board back to a real board name. Now the boards maintained in u-boot mainline are the same as Linux kernel,

Re: [U-Boot] [PATCH v2] Various Makefiles: Add SPDX-License-Identifier tags

2015-11-10 Thread Tom Rini
On Mon, Nov 09, 2015 at 08:14:34PM -0500, Tom Rini wrote: > After consulting with some of the SPDX team, the conclusion is that > Makefiles are worth adding SPDX-License-Identifier tags too, and most of > ours have one. This adds tags to ones that lack them and converts a few > that had full (or

Re: [U-Boot] [PATCH] Fix board init code to use a valid C runtime environment

2015-11-10 Thread Albert ARIBAUD
Hello Simon, On Tue, 10 Nov 2015 13:04:50 -0700, Simon Glass wrote: > I'm hoping we don't have to bring back this assembler. What we need in ASM is just the part that actually alters the stack (i.e., changes the SP of the architecture) so that no C function has to do it. >

[U-Boot] [PATCH v2] net: phy: Add support for Texas Instruments DP83867

2015-11-10 Thread Michal Simek
From: "Edgar E. Iglesias" Code is taken from Linux kernel driver. Signed-off-by: Edgar E. Iglesias Signed-off-by: Michal Simek --- Changes in v2: - Add missing function declaration to phy.h - Remove BIT macro and

[U-Boot] [PATCH] ARM64: zynqmp: Enable TI phy by default

2015-11-10 Thread Michal Simek
Enable TI phy for Xilinx ZynqMP platform. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index 36c11009fc3d..574f788500bf 100644 ---

[U-Boot] [PATCH v5 01/21] rockchip: add timer driver

2015-11-10 Thread Lin Huang
some rockchip soc will not include lib/timer.c in SPL stage, so implement timer driver for some soc can use us delay function in SPL. Signed-off-by: Lin Huang Acked-by: Simon Glass --- Changes in v1: None Changes in v2: - add udelay function Changes in

[U-Boot] [PATCH v5 00/21] Bring up rk3036 uboot

2015-11-10 Thread Lin Huang
This series patch bring up rk3036 uboot, since rk3036 only 4K size SRAM for SPL, so in SPL stage only support timer, uart, sdram driver, and back to bootrom when finish ddr initial, and boot up second stage from bootrom.You can boot to command line(mmc info etc) for now use this patchset. Jeffy

[U-Boot] [PATCH v5 02/21] rockchip: move SYS_MALLOC_F_LEN to rk3288 own Kconfig

2015-11-10 Thread Lin Huang
since different rockchip SOC have different size of SRAM, So the size SYS_MALLOC_F_LEN may different, so move this config to rk3288 own Kconfig Signed-off-by: Lin Huang Acked-by: Simon Glass --- Changes in v1: None Changes in v2: None Changes in v3: None

[U-Boot] [PATCH v5 03/21] rockchip: rename board-spl.c to rk3288-board-spl.c

2015-11-10 Thread Lin Huang
since different rockchip soc need different spl file, so rename board-spl.c. Signed-off-by: Lin Huang Acked-by: Simon Glass --- Changes in v1: None Changes in v2: None Changes in v3: None Changes in v4: None Changes in v5: None

[U-Boot] [PATCH v5 04/21] rockchip: add config decide whether to build common.c

2015-11-10 Thread Lin Huang
some rockchips soc will not use uclass in SPL stage, so define config to decide whether to build common.c Signed-off-by: Lin Huang Acked-by: Simon Glass --- Changes in v1: None Changes in v2: None Changes in v3: None Changes in v4: None Changes in v5:

[U-Boot] [PATCH v5 21/21] rockchip: doc: show packet rk3036 uboot image

2015-11-10 Thread Lin Huang
show how to packet rk3036 uboot image and boot from SD Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: None Changes in v4: - fix some spell error Changes in v5: - Adviced by Simon: - add evb rk3036 board to supported boards

[U-Boot] [PATCH v5 20/21] rockchip: Add support for rk's second level loader

2015-11-10 Thread Lin Huang
From: Jeffy Chen The Rockchip boot ROM could load & run an initial spl loader, and continue to load a second level boot-loader(which stored right after the initial loader) when it returns. Modify idblock generation code to support it. Signed-off-by: Jeffy Chen

[U-Boot] [PATCH v5 09/21] rockchip: rk3036: Add header files for GRF

2015-11-10 Thread Lin Huang
GRF is the gereral register file. Add header files with register definitions. Signed-off-by: Lin Huang Acked-by: Simon Glass --- Changes in v1: - clean copyright announcement Changes in v2: - move some macro to grf_rk3036.h Changes in v3: None Changes in

[U-Boot] [PATCH v5 07/21] rockchip: Bring in RK3036 device tree file includes and bindings

2015-11-10 Thread Lin Huang
Since rk3036 device tree file still in reviewing, bring it from https://patchwork.kernel.org/patch/7203371/ and add some aliases we need in uboot Signed-off-by: Lin Huang Acked-by: Simon Glass --- Changes in v1: - clean copyright announcement Changes in

[U-Boot] [PATCH v5 05/21] dm: core: Add SPL Kconfig for REGMAP and SYSCON

2015-11-10 Thread Lin Huang
Add SPL Kconfig for REGMAP and SYSCON, so REGMAP and SYSCON can remove from SPL stage. Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: - fix compile error Changes in v4: None Changes in v5: None configs/chromebook_jerry_defconfig | 2 ++

[U-Boot] [PATCH v5 06/21] rockchip: serial driver support rk3036

2015-11-10 Thread Lin Huang
Signed-off-by: Lin Huang Acked-by: Simon Glass --- Changes in v1: None Changes in v2: - modify code suggest by Simon Changes in v3: None Changes in v4: None Changes in v5: None drivers/serial/serial_rockchip.c | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [PATCH v5 08/21] rockchip: rk3036: Add clock driver

2015-11-10 Thread Lin Huang
Add a driver for setting up and modifying the various PLLs, peripheral clocks and mmc clocks on RK3036 Signed-off-by: Lin Huang Acked-by: Simon Glass --- Changes in v1: - clean copyright announcement Changes in v2: - move some macro to cru_rk3036.h

[U-Boot] QSPI XIP boot on am437x

2015-11-10 Thread Vignesh R
Hi, With commit 7ae8350f67eea("ti: armv7: Move SPL SDRAM init to the right place, drop unused CONFIG_SPL_STACK") QSPI XIP boot appears to be broken on AM437x SK EVM. Following UART initialization code (as indicated by TODO) causes the XIP boot failure. In arch/arm/cpu/armv7/am33xx/board.c: @@

[U-Boot] [PATCH v5 16/21] rockchip: add rk3036 sdram driver

2015-11-10 Thread Lin Huang
add rk3036 sdram driver so we can set up sdram in SPL Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: - fix some code style error Changes in v4: - modify code advice by Simon Glass Changes in v5: - Advice by Simon: - move some global

[U-Boot] [PATCH v5 15/21] rockchip: add early uart driver

2015-11-10 Thread Lin Huang
add early uart driver so we can print debug message in SPL stage Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: - pass uart base address to rk_uart_init() function Changes in v4: None Changes in v5: None

[U-Boot] [PATCH v5 14/21] rockchip: mmc: get the fifo mode and fifo depth property from dts

2015-11-10 Thread Lin Huang
rk3036 mmc do not have internal dma, so we use fifo mode when read and write data, we get the fifo mode and fifo depth property from dts, pass to dw_mmc driver. Signed-off-by: Lin Huang --- arch/arm/dts/rk3036.dtsi | 1 + drivers/mmc/rockchip_dw_mmc.c | 28

[U-Boot] [PATCH v5 17/21] rockchip: rk3036: Add core Soc start-up code

2015-11-10 Thread Lin Huang
rk3036 only 4K size SRAM for SPL, so only support timer, uart, sdram driver in SPL stage, when finish initial sdram, back to bootrom.And in rk3036 sdmmc and debug uart use same iomux, so if you want to boot from sdmmc, you must disable debug uart. Signed-off-by: Lin Huang

[U-Boot] [PATCH v5 18/21] rockchip: Add basic support for evb-rk3036 board

2015-11-10 Thread Lin Huang
This add some basic files required to allow the board to dispaly serial message and can run command(mmc info etc) Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: - get sdram info from evb_rk3036.c Changes in v3: - delete some config

[U-Boot] [PATCH v5 19/21] rockchip: Add max init size & chip tag configs

2015-11-10 Thread Lin Huang
From: Jeffy Chen Our chips may have different sram size limits and chip tag, so we need to add configs for that. Signed-off-by: Jeffy Chen --- Changes in v1: None Changes in v2: None Changes in v3: None Changes in v4: None Changes in v5: -

[U-Boot] [PATCH v5 12/21] rockchip: rk3036: Add pinctrl driver

2015-11-10 Thread Lin Huang
Add a driver which support pin multiplexing setup for rk3036 Signed-off-by: Lin Huang Acked-by: Simon Glass --- Changes in v1: - clean copyright announcement Changes in v2: None Changes in v3: - fix some coding style error Changes in v4: None Changes in

[U-Boot] [PATCH v5 10/21] rockchip: rk3036: Add Soc reset driver

2015-11-10 Thread Lin Huang
We can reset the Soc using some CRU (clock/reset unit) register. Add support for this. Signed-off-by: Lin Huang Acked-by: Simon Glass --- Changes in v1: - clean copyright announcement Changes in v2: - only build reset_rk3036.c in NON-SPL stage Changes in

[U-Boot] [PATCH v5 11/21] rockchip: rk3036: Add a simple syscon driver

2015-11-10 Thread Lin Huang
Add a driver that provides access to system controllers Signed-off-by: Lin Huang Acked-by: Simon Glass --- Changes in v1: - clean copyright announcement Changes in v2: - only build syscon_rk3036.c on NON-SPL stage Changes in v3: None Changes in v4: None

[U-Boot] [PATCH v5 13/21] mmc: dw_mmc: support fifo mode in dwc mmc driver

2015-11-10 Thread Lin Huang
some soc(rk3036 etc) use dw_mmc but do not have internal dma, so we implement fifo mode to read and write data. Signed-off-by: Lin Huang --- drivers/mmc/dw_mmc.c | 81 +++- include/dwmmc.h | 5 2 files changed, 72

[U-Boot] ARM configurations with no MAINTAINERS file entries

2015-11-10 Thread Albert ARIBAUD
Hello, An all-ARM buildman on current ARM or mainline ToT (commit 7bdf75ca) causes the following warnings: WARNING: no status info for 'am335x_gp_evm' WARNING: no maintainers for 'am335x_gp_evm' WARNING: no status info for 'dra74_evm' WARNING: no maintainers for 'dra74_evm' WARNING: no status

[U-Boot] [PATCH] Revert "arm: Switch 32-bit ARM to using generic global_data setup"

2015-11-10 Thread Fabio Estevam
This reverts commit 5ba534d247d418e09c5b4fe5fb7fa780aac08e49. This commit causes cgtqmx6eval to not boot anymore: U-Boot SPL 2015.10-00527-g8800bee (Nov 09 2015 - 21:23:54) mxc_spi: SPI Slave not allocated ! Signed-off-by: Fabio Estevam --- arch/arm/lib/crt0.S |

Re: [U-Boot] [PATCH v2] net: phy: Add support for Texas Instruments DP83867

2015-11-10 Thread Tom Rini
On Tue, Nov 10, 2015 at 11:02:56AM +0100, Michal Simek wrote: > From: "Edgar E. Iglesias" > > Code is taken from Linux kernel driver. Which kernel tag / git hash? Makes future re-syncs for bug fixes easier. -- Tom signature.asc Description: Digital signature

[U-Boot] [PATCH v3] net: phy: Add support for Texas Instruments DP83867

2015-11-10 Thread Michal Simek
From: "Edgar E. Iglesias" Code is taken from Linux kernel driver (v4.2). Signed-off-by: Edgar E. Iglesias Signed-off-by: Michal Simek --- Changes in v3: - Add kernel version tag to the commit message - reported by

  1   2   >