Re: [U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

2012-01-10 Thread Christian Riesch
Hi Sughosh and Tom, On Tuesday, January 10, 2012, Sughosh Ganu wrote: > On Mon Jan 09, 2012 at 04:30:56PM -0700, Tom Rini wrote: >> On 01/09/2012 11:28 AM, Sughosh Ganu wrote: > > > >> > --- a/arch/arm/cpu/arm926ejs/davinci/Makefile >> > +++ b/arch/arm/cpu/arm926ejs/davinci/Makefile >> > @@ -38,

Re: [U-Boot] [PATCH] da850evm: drop NET_MULTI reference

2012-01-10 Thread Christian Riesch
Hi, On Tue, Jan 10, 2012 at 8:13 AM, Prabhakar Lad wrote: > remove obsolete macro CONFIG_NET_MULTI, Now that none > of the core checks CONFIG_NET_MULTI, there's not much point > in boards defining it. > > Signed-off-by: Prabhakar Lad > Cc: Mike Frysinger > Cc: Tom Rini > --- >  include/configs

Re: [U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

2012-01-10 Thread Sughosh Ganu
hi Christian, On Tue Jan 10, 2012 at 09:15:14AM +0100, Christian Riesch wrote: > Hi Sughosh and Tom, > > On Tuesday, January 10, 2012, Sughosh Ganu wrote: > > On Mon Jan 09, 2012 at 04:30:56PM -0700, Tom Rini wrote: > >> On 01/09/2012 11:28 AM, Sughosh Ganu wrote: > > > > > > > >> > --- a/arch/a

Re: [U-Boot] [PATCH] da850evm: drop NET_MULTI reference

2012-01-10 Thread Prabhakar Lad
Christian, Oops my Bad , didn't notice it. Regards, --Prabhakar Lad On Tue, Jan 10, 2012 at 2:09 PM, Christian Riesch < christian.rie...@omicron.at> wrote: > Hi, > > On Tue, Jan 10, 2012 at 8:13 AM, Prabhakar Lad > wrote: > > remove obsolete macro CONFIG_NET_MULTI, Now that none > > of the cor

[U-Boot] [PATCH v3 0/3] ARMV7: Exynos4: Add support for TRATS board

2012-01-10 Thread HeungJun, Kim
This patch series support for Samsung TRATS board, and add the headers of watchdog and power. I missed logs of v2 on this thread, so I'm going to add this: http://lists.denx.de/pipermail/u-boot/2012-January/114857.html Also, this patch is tested on Samsung TRATS board. Thank you. Best Regards,

[U-Boot] [PATCH v3 1/3] ARMV7: Exynos4: Add watchdog.h for Exynos4

2012-01-10 Thread HeungJun, Kim
This patch add watchdog.h for Exynos4 Signed-off-by: HeungJun, Kim Signed-off-by: Kyungmin Park --- arch/arm/include/asm/arch-exynos/watchdog.h | 53 +++ 1 files changed, 53 insertions(+), 0 deletions(-) create mode 100644 arch/arm/include/asm/arch-exynos/watchdog.h

[U-Boot] [PATCH v3 2/3] ARMV7: Exynos4: Add supoort power for Exynos4

2012-01-10 Thread HeungJun, Kim
This patch adds power.h and SAMSUNG_BASE() macro for using Exynos4 power. Signed-off-by: HeungJun, Kim Signed-off-by: Kyungmin Park --- arch/arm/include/asm/arch-exynos/cpu.h |1 + arch/arm/include/asm/arch-exynos/power.h | 230 ++ 2 files changed, 231 inserti

[U-Boot] [PATCH v3 3/3] ARMV7: Exynos4: Add support for TRATS board

2012-01-10 Thread HeungJun, Kim
This patch adds support for Samsung TRATS board Signed-off-by: HeungJun, Kim Signed-off-by: Kyungmin Park --- MAINTAINERS |4 + board/samsung/trats/Makefile | 43 ++ board/samsung/trats/trats.c | 349 board/samsung/trats/trats_setup.h |

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-10 Thread Xiangfu Liu
On 01/07/2012 03:05 AM, Scott Wood wrote: > forget add CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST to board configure head > file. That still doesn't explain how a few duplicate externs changed the resulting binary... yes. strange. have no idea about this. when I have time I will compare the binar

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-10 Thread HeungJun, Kim
Hi Chander Kashyap, I'm going to share the status of size. The case of assemble code: textdata bss dec hex filename 1929 20 121961 7a9 board/samsung/trats/libtrats.o 912 0 0 912 390 board/samsung/trats/lowlevel_init.o 1017 20

Re: [U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

2012-01-10 Thread Heiko Schocher
Hello Sughosh, Christian, Tom, Sughosh Ganu wrote: > hi Christian, > On Tue Jan 10, 2012 at 09:15:14AM +0100, Christian Riesch wrote: >> Hi Sughosh and Tom, >> >> On Tuesday, January 10, 2012, Sughosh Ganu wrote: >>> On Mon Jan 09, 2012 at 04:30:56PM -0700, Tom Rini wrote: On 01/09/2012 11:2

Re: [U-Boot] [PATCH v3 1/7] drivers/i2c/omap24xx_i2c.c: replace printf with one argument by puts

2012-01-10 Thread Heiko Schocher
Hello Andreas, Andreas Müller wrote: > Signed-off-by: Andreas Müller > --- > drivers/i2c/omap24xx_i2c.c | 12 ++-- > 1 files changed, 6 insertions(+), 6 deletions(-) Acked-by: Heiko Schocher bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165

Re: [U-Boot] [PATCH v3 4/7] drivers/i2c/omap24xx_i2c.c: move all local variables to SRAM

2012-01-10 Thread Heiko Schocher
Hello Andreas, Andreas Müller wrote: > At old overo boards TWL4030 RTC irq is connected to gpio112. Unfortunately > this pin is also used for revision detection. Therefore we need to send > shut-up to TWL4030 to avoid reading wrong revision. In SPL this must > be done before SDRAM is set up becaus

Re: [U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

2012-01-10 Thread Sughosh Ganu
hi Heiko, On Tue Jan 10, 2012 at 10:42:08AM +0100, Heiko Schocher wrote: > Hello Sughosh, Christian, Tom, > > Sughosh Ganu wrote: > >>> I see a CONFIG_MACH_DAVINCI_* like define in da850evm.h and > >>> hawkboard.h. Should i add a similar define for cam_enc_4xx, and use > >>> these instead. > >

[U-Boot] [PATCH] imx: mx6q: add aipstz init for off platform periph

2012-01-10 Thread Jason Liu
Init peripheral access control register of AIPSTZ OPACRx: Buffer Writes(BW): 0 -> not bufferable, Supervisor Protect(SP): 0 -> not require supervisor privilege level for accesses. Write Protect(WP): 0 -> allows write accesses. Trusted Protect(TP):0 -> allows unstrusted master Signe

Re: [U-Boot] [PATCH] eth: remove usb-ethernet devices before re-enumerating them

2012-01-10 Thread Marek Vasut
> On 01/09/2012 10:08 PM, Vincent Palatin wrote: > > On Mon, Jan 9, 2012 at 12:57, Marek Vasut wrote: > >>> Fix the crash when running several times usb_init() with a USB ethernet > >>> device plugged. > >>> > >>> Signed-off-by: Vincent Palatin > >>> Tested-by: Wolfgang Grandegger > >>> --- > >

Re: [U-Boot] [PATCH] M28EVK: Fix build if CONFIG_CMD_NAND not selected

2012-01-10 Thread Marek Vasut
> Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Stefano Babic > --- > include/configs/m28evk.h |4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h > index 39c841f..dcea878 100644 > --- a/include/configs/m28

Re: [U-Boot] [PATCH] M28EVK: Fix build if CONFIG_CMD_NAND not selected

2012-01-10 Thread Fabio Estevam
Hi Marek, On Sun, Jan 1, 2012 at 2:28 AM, Marek Vasut wrote: > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Stefano Babic > --- >  include/configs/m28evk.h |    4 +++- >  1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/include/configs/m28evk.h b/include/configs/m28evk

Re: [U-Boot] [PATCH] M28EVK: Fix build if CONFIG_CMD_NAND not selected

2012-01-10 Thread Marek Vasut
> Hi Marek, > > On Sun, Jan 1, 2012 at 2:28 AM, Marek Vasut wrote: > > Signed-off-by: Marek Vasut > > Cc: Wolfgang Denk > > Cc: Stefano Babic > > --- > > include/configs/m28evk.h |4 +++- > > 1 files changed, 3 insertions(+), 1 deletions(-) > > > > diff --git a/include/configs/m28evk.h b

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-10 Thread Chander Kashyap
Hi Kyungmin Park, On 10 January 2012 10:42, Kyungmin Park wrote: > On 1/10/12, Chander Kashyap wrote: >> Dear Simon, >> >> On 9 January 2012 23:25, Simon Glass wrote: >>> Hi Chander, >>> >>> On Sun, Jan 8, 2012 at 10:40 PM, Chander Kashyap >>> wrote: This patchset add support for Samsung'

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-10 Thread Chander Kashyap
Dear Wolfgang Denk, On 10 January 2012 11:05, Wolfgang Denk wrote: > Dear Chander Kashyap, > > In message > you > wrote: >> >> > Are you planning to reimplement most of these two files in C as per >> > Wolfgang's comments on the TRATS board, or is that a separate issue? >> Not as of now. We ha

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-10 Thread Chander Kashyap
Hi HeungJun, On 10 January 2012 14:50, HeungJun, Kim wrote: > Hi Chander Kashyap, > > I'm going to share the status of size. > > The case of assemble code: > text    data     bss     dec     hex filename >   1929      20      12    1961     7a9 board/samsung/trats/libtrats.o >    912       0    

[U-Boot] [PATCH 2/8] powerpc/env: Correct the compilation errors when defined CONFIG_ENV_IS_NOWHERE

2012-01-10 Thread Liu Gang
When defined CONFIG_ENV_IS_NOWHERE, there will be some compilation errors: ./common/env_nowhere.o: In function `env_relocate_spec': ./common/env_nowhere.c:38: multiple definition of `env_relocate_spec' ./common/env_flash.o: ./common/env_flash.c:326: first defined here ./common/env_nowhere.o: In fu

[U-Boot] [PATCH 6/8] powerpc/boot: Slave uploads ucode when boot from SRIO

2012-01-10 Thread Liu Gang
When boot from SRIO, slave's ucode can be stored in master's memory space, then slave can fetch the ucode image through SRIO interface. Master needs to: 1. Put the slave's ucode image into it's own memory space. 2. Set an inbound SRIO window covered slave's ucode stored in master's

[U-Boot] [PATCH 3/8] powerpc/boot: Document for the boot from SRIO

2012-01-10 Thread Liu Gang
This document describes the implementation of the boot from SRIO, includes the introduction of envionment, an example based on P4080DS platform, an example of the slave's RCW, and the description about how to use this feature. Signed-off-by: Liu Gang --- doc/README.srio-boot-mpc85xx | 103 +

[U-Boot] [PATCH 4/8] powerpc/boot: Master module for boot from SRIO

2012-01-10 Thread Liu Gang
For the powerpc processors with SRIO interface, boot location can be configured from SRIO1 or SRIO2 by RCW. The processor booting from SRIO can do without flash for u-boot image. The image can be fetched from another processor's memory space by SRIO link connected between them. The processor boots

[U-Boot] [PATCH 1/8] powerpc/srio: Correct the register defined errors in the struct ccsr_rio_t

2012-01-10 Thread Liu Gang
Many registers were not defined in the struct ccsr_rio_t in the file arch/powerpc/include/asm/immap_85xx.h. For example it lacks registers from offset 0xc0600 to 0xd0160. Accordingly, some register's offset need to be modified in the struct. In addition, add the register's offset in the comments.

[U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot from SRIO

2012-01-10 Thread Liu Gang
For the powerpc processors with SRIO interface, boot location can be configured from SRIO1 or SRIO2 by RCW. The processor booting from SRIO can do without flash for u-boot image. The image can be fetched from another processor's memory space by SRIO link connected between them. The processor boots

[U-Boot] [PATCH 7/8] powerpc/boot: Slave reads ENV from master when boot from SRIO

2012-01-10 Thread Liu Gang
When boot from SRIO, slave's ENV can be stored in master's memory space, then slave can fetch the ENV through SRIO interface. NOTE: Because the slave can not erase, write master's Norflash by SRIO interface, so it can not modify the ENV parameters stored in master's Norflash us

[U-Boot] [PATCH 8/8] powerpc/boot: Slave core in holdoff when boot from SRIO

2012-01-10 Thread Liu Gang
When boot from SRIO, slave's core can be in holdoff after powered on for some specific requirements. Master can release the slave's core at the right time by SRIO interface. Master needs to: 1. Set outbound SRIO windows in order to configure slave's registers for the core's rele

[U-Boot] [PATCH] arm, davinci: Add support for the Calimain board from OMICRON electronics

2012-01-10 Thread Christian Riesch
This patch adds support for the Calimain board from OMICRON electronics GmbH. The board features a Texas Instruments AM1808 SoC, 128 MB DDR2 memory, and 64 MB NOR flash memory connected to CS2 and CS3. Signed-off-by: Christian Riesch --- MAINTAINERS |5 + board/omicron/

Re: [U-Boot] [PATCH 13/15] New board support: Nokia RX-51 aka N900

2012-01-10 Thread Pali Rohár
On Tuesday 03 January 2012 09:05:17 Tom Rini wrote: > On Sun, Dec 18, 2011 at 2:34 PM, Pali Rohár wrote: > > This board definition results in a u-boot.bin which can be chainloaded > > from NOLO in qemu or on a real N900. It does very little hardware config > > because NOLO has already configured t

Re: [U-Boot] [PATCH 13/15] New board support: Nokia RX-51 aka N900

2012-01-10 Thread Tom Rini
On Tue, Jan 10, 2012 at 6:14 AM, Pali Rohár wrote: > On Tuesday 03 January 2012 09:05:17 Tom Rini wrote: >> On Sun, Dec 18, 2011 at 2:34 PM, Pali Rohár wrote: >> > This board definition results in a u-boot.bin which can be chainloaded >> > from NOLO in qemu or on a real N900. It does very little

[U-Boot] [PATCH v3] add nand spl boot for qi_lb60 board

2012-01-10 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu --- Changes for v2: -Add CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST -Cleanup jz4740_nand.c a little Changes for v3: -Remove CONFIG_NAND_SPL_TEXT_BASE, fix the wrong TEXT base under SPL u-boot.lds -Remove overcomplicated 'dd', pad to 32KB SPL instead of 256. comments adde

Re: [U-Boot] [PATCH v2] add nand spl boot for qi_lb60 board

2012-01-10 Thread Xiangfu Liu
Hi Scott thanks for your comments. PATCH v3 have sent out for you to review. On 01/07/2012 06:36 AM, Scott Wood wrote: We are transitioning from nand_spl/ to spl/. Please try to work within the new infrastructure. You may run into problems with size in spl/, due to gc-sections not removing st

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-01-10 Thread Marek Vasut
> From: "Govindraj.R" > > Clean up added ehci-omap.c and make it generic for re-use across > soc having same ehci ip block. Also pass the modes to be configured > and configure the ports accordingly. All usb layers are not cache > aligned till then keep cache off for usb ops as ehci will use > in

Re: [U-Boot] [PATCH v2] add nand spl boot for qi_lb60 board

2012-01-10 Thread Daniel Schwierzeck
On Tue, Jan 10, 2012 at 4:13 PM, Xiangfu Liu wrote: > Hi Scott > > thanks for your comments. PATCH v3 have sent out for you to review. > > > On 01/07/2012 06:36 AM, Scott Wood wrote: >> >> We are transitioning from nand_spl/ to spl/.  Please try to work within >> the new infrastructure.  You may r

Re: [U-Boot] [PATCH 2/8] powerpc/env: Correct the compilation errors when defined CONFIG_ENV_IS_NOWHERE

2012-01-10 Thread Tabi Timur-B04825
On Tue, Jan 10, 2012 at 5:42 AM, Liu Gang wrote: > > There will be a confict if defined CONFIG_ENV_IS_NOWHERE and > CONFIG_ENV_IS_IN_FLASH. This doesn't make any sense. How can the environment be nowhere *and* also in flash, at the same time? -- Timur Tabi Linux kernel developer at Freescale _

Re: [U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot from SRIO

2012-01-10 Thread Tabi Timur-B04825
On Tue, Jan 10, 2012 at 5:42 AM, Liu Gang wrote: > > +#define CONFIG_SYS_QE_FMAN_FW_IN_REMOTE > +#define CONFIG_SYS_QE_FMAN_FW_ADDR     0 Where is CONFIG_SYS_QE_FMAN_FW_IN_REMOTE documented? And where is the code that uses it? -- Timur Tabi Linux kernel developer at Freescale _

Re: [U-Boot] [PATCH 6/8] powerpc/boot: Slave uploads ucode when boot from SRIO

2012-01-10 Thread Tabi Timur-B04825
On Tue, Jan 10, 2012 at 5:42 AM, Liu Gang wrote: > When boot from SRIO, slave's ucode can be stored in master's memory space, > then slave can fetch the ucode image through SRIO interface. What kind of ucode is this? Fman or QE? > + > +       /* configure inbound window for slave's ucode */ > +

Re: [U-Boot] [PATCH] sdhc_boot: Introduce CONFIG_FSL_FIXED_MMC_LOCATION option

2012-01-10 Thread Fabio Estevam
Andy, Any comment about this patch? Without this patch we get corrupted SD cards after trying to store env vars on several i.MX boards. Regards, Fabio Estevam On Thu, Dec 29, 2011 at 9:54 AM, Fabio Estevam wrote: > Kumar/Andy, > > On Thu, Dec 29, 2011 at 7:47 AM, Stefano Babic wrote: >> On 2

Re: [U-Boot] [PATCH 07/14] tegra: Add PMU to manage power supplies

2012-01-10 Thread Stephen Warren
On 12/26/2011 12:33 PM, Simon Glass wrote: > From: Jimmy Zhang > > Power supplies must be adjusted in line with clock frequency. This code > provides a simple routine to set the voltage to allow operation at maximum > frequency. > > Signed-off-by: Simon Glass > --- > arch/arm/cpu/armv7/tegra2/

Re: [U-Boot] [PATCH 08/14] tegra: Set up PMU for Nvidia boards

2012-01-10 Thread Stephen Warren
On 12/26/2011 12:33 PM, Simon Glass wrote: > Adjust PMU to permit maximum frequency operation. ... > diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c ... > +#ifdef CONFIG_TEGRA2_I2C > + i2c_init_board(); > + > +#ifdef CONFIG_TEGRA_PMU > + pmu_set_nominal(); > +#endif >

Re: [U-Boot] [PATCH v2 5/9] sandbox: sort header files in os.c

2012-01-10 Thread Mike Frysinger
On Monday 09 January 2012 17:25:15 Simon Glass wrote: > --- a/arch/sandbox/cpu/os.c > +++ b/arch/sandbox/cpu/os.c > > +#include > #include > +#include > #include > #include > -#include > #include > -#include > -#include > -#include > +#include > #include > +#include > +#include

Re: [U-Boot] [PATCH v2] add nand spl boot for qi_lb60 board

2012-01-10 Thread Scott Wood
On 01/10/2012 09:13 AM, Xiangfu Liu wrote: > Hi Scott > > thanks for your comments. PATCH v3 have sent out for you to review. > > On 01/07/2012 06:36 AM, Scott Wood wrote: >> We are transitioning from nand_spl/ to spl/. Please try to work within >> the new infrastructure. You may run into probl

Re: [U-Boot] [PATCH] da850evm: drop NET_MULTI reference

2012-01-10 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-10 Thread Sughosh Ganu
The current implementation invalidates the cache instead of flushing it. This causes problems on platforms where the spl/u-boot is already loaded to the RAM, with caches enabled by a first stage bootloader. The V bit of the cp15's control register c1 is set to the value of VINITHI on reset. Do not

[U-Boot] [PATCH 2/2 V2] Changes to move hawkboard to the new spl infrastructure.

2012-01-10 Thread Sughosh Ganu
This patch moves hawkboard to the new spl infrastructure from the older nand_spl one. Removed the hawkboard_nand_config build option -- The spl code now gets compiled with hawkboard_config, after building the main u-boot image, using the CONFIG_SPL_TEXT_BASE. Modified the README.hawkboard to refle

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-10 Thread Mike Frysinger
On Monday 09 January 2012 16:27:44 Scott Wood wrote: > On 01/09/2012 03:21 PM, Mike Frysinger wrote: > > On Monday 09 January 2012 14:41:07 Scott Wood wrote: > >> Unless/until the toolchain can properly GC anonymous strings, I think > >> finer-grained conditional compilation is the way to go. > >

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-10 Thread Mike Frysinger
On Monday 09 January 2012 16:25:41 Tom Rini wrote: > On Mon, Jan 9, 2012 at 2:23 PM, Tom Rini wrote: > > On Mon, Jan 9, 2012 at 2:21 PM, Mike Frysinger wrote: > >> On Monday 09 January 2012 14:41:07 Scott Wood wrote: > >>> Unless/until the toolchain can properly GC anonymous strings, I think > >>

Re: [U-Boot] [PATCH 09/14] tegra: Add warmboot implementation

2012-01-10 Thread Stephen Warren
On 12/26/2011 12:33 PM, Simon Glass wrote: > From: Yen Lin > > Add code to set up the warm boot area in the Tegra CPU ready for a > resume after suspend. > > Signed-off-by: Simon Glass How come Yen's S-o-b line is missing here? As a general comment on this patch, it contains a lot of structur

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-10 Thread Tom Rini
On Tue, Jan 10, 2012 at 11:25 AM, Mike Frysinger wrote: > On Monday 09 January 2012 16:25:41 Tom Rini wrote: >> On Mon, Jan 9, 2012 at 2:23 PM, Tom Rini wrote: >> > On Mon, Jan 9, 2012 at 2:21 PM, Mike Frysinger wrote: >> >> On Monday 09 January 2012 14:41:07 Scott Wood wrote: >> >>> Unless/unti

Re: [U-Boot] [PATCH 12/14] tegra: Set vdd_core and vdd_cpu to high

2012-01-10 Thread Stephen Warren
On 12/26/2011 12:33 PM, Simon Glass wrote: > From: Jimmy Zhang > > At cold boot, the default voltage supplied by pmu is not high enough > to support emc to run at its highest clock frequency. The code added > here is to update the default vdd_core and vdd_cpu to higher values. > > (Sorry if I ha

Re: [U-Boot] [PATCH 13/14] tegra: Add EMC settings for Seaboard, Harmony

2012-01-10 Thread Stephen Warren
On 12/26/2011 12:33 PM, Simon Glass wrote: > From: Jimmy Zhang > > Set Seaboard and Harmony to optimal memory settings based on the SOC > in use (T20 or T25). > > Signed-off-by: Simon Glass > diff --git a/board/nvidia/common/emc.c b/board/nvidia/common/emc.c ... > +static const struct tegra_em

[U-Boot] [PATCH 1/3] m28evk: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Fabio Estevam
CONFIG_NET_MULTI is not used anymore, so remove it from board file. Cc: Marek Vasut Signed-off-by: Fabio Estevam --- include/configs/m28evk.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index 39c841f..51eb1c1 10064

[U-Boot] [PATCH 2/3] efika0: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Fabio Estevam
CONFIG_NET_MULTI is not used anymore, so remove it from board file. Cc: Marek Vasut Signed-off-by: Fabio Estevam --- include/configs/efikamx.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/efikamx.h b/include/configs/efikamx.h index 522487b..e2f0f74 10

[U-Boot] [PATCH 3/3] flea3: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Fabio Estevam
CONFIG_NET_MULTI is not used anymore, so remove it from board file. Signed-off-by: Fabio Estevam --- include/configs/flea3.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/flea3.h b/include/configs/flea3.h index aac3930..649e272 100644 --- a/include/conf

[U-Boot] [PATCH v2 2/3] efika: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Fabio Estevam
CONFIG_NET_MULTI is not used anymore, so remove it from board file. Cc: Marek Vasut Signed-off-by: Fabio Estevam --- Changes since v1: - Fix typo in board name include/configs/efikamx.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/efikamx.h b/include/

[U-Boot] [PATCH 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Doug Anderson
If you would like the old behavior of having bootm modify the bootargs to silence the linux console when CONFIG_SILENT_CONSOLE is defined, you now need to define the config CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE. A previous change already added this new config to all known users of CONFIG_SILENT_CO

[U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
As discussed previously on the U-Boot mailing list (see comments on "Fix fixup_silent_linux() buffer overrun" patchset), relying on "bootm" to mangle the Linux bootargs is not a suggested way to go. We now officially deprecate it and provide a way to avoid it (but still get the other CONFIG_SILENT

[U-Boot] [PATCH 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
I have set this config option based on the existing usage of CONFIG_SILENT_CONSOLE. This is to support a future change deprecating the silencing of the linux console in bootm by having bootm modify the linux command-line arguments. Signed-off-by: Doug Anderson --- include/configs/KUP4K.h

Re: [U-Boot] [PATCH 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message <1326223018-12441-2-git-send-email-diand...@chromium.org> you wrote: > I have set this config option based on the existing usage of > CONFIG_SILENT_CONSOLE. This is to support a future change > deprecating the silencing of the linux console in bootm by > having boot

Re: [U-Boot] [PATCH 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message <1326223018-12441-2-git-send-email-diand...@chromium.org> you wrote: > I have set this config option based on the existing usage of > CONFIG_SILENT_CONSOLE. This is to support a future change > deprecating the silencing of the linux console in bootm by > having boot

Re: [U-Boot] [PATCH] arm, davinci: Add support for the Calimain board from OMICRON electronics

2012-01-10 Thread Tom Rini
On Tue, Jan 10, 2012 at 5:56 AM, Christian Riesch wrote: > This patch adds support for the Calimain board from > OMICRON electronics GmbH. The board features a Texas Instruments AM1808 > SoC, 128 MB DDR2 memory, and 64 MB NOR flash memory connected to CS2 and > CS3. > > Signed-off-by: Christian Ri

Re: [U-Boot] [PATCH 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message <1326223018-12441-3-git-send-email-diand...@chromium.org> you wrote: > If you would like the old behavior of having bootm modify the bootargs > to silence the linux console when CONFIG_SILENT_CONSOLE is defined, > you now need to define the config CONFIG_DEPRECATED_S

Re: [U-Boot] [PATCH v2 2/3] efika: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Marek Vasut
> CONFIG_NET_MULTI is not used anymore, so remove it from board file. > > Cc: Marek Vasut > Signed-off-by: Fabio Estevam > --- > Changes since v1: > - Fix typo in board name > include/configs/efikamx.h |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/include/config

Re: [U-Boot] [PATCH 1/3] m28evk: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Marek Vasut
> CONFIG_NET_MULTI is not used anymore, so remove it from board file. > > Cc: Marek Vasut > Signed-off-by: Fabio Estevam > --- > include/configs/m28evk.h |1 - > 1 files changed, 0 insertions(+), 1 deletions(-) > > diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h > index 39

Re: [U-Boot] [PATCH 1/3] m28evk: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Fabio Estevam
On Tue, Jan 10, 2012 at 5:57 PM, Marek Vasut wrote: > Acked-by: Marek Vasut > > Though you should drop it from all other board files (hint: git grep > CONFIG_NET_MULTI) Ok, will submit a patch for removing it from other board files. Regards, Fabio Estevam _

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-10 Thread Marek Vasut
> The current implementation invalidates the cache instead of flushing > it. This causes problems on platforms where the spl/u-boot is already > loaded to the RAM, with caches enabled by a first stage bootloader. What platforms are affected? M > > The V bit of the cp15's control register c1 is s

Re: [U-Boot] [PATCH 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 14:16:58 Doug Anderson wrote: > --- a/README > +++ b/README > @@ -606,9 +606,8 @@ The following options need to be configured: > environment 'console=serial'. > > When CONFIG_SILENT_CONSOLE is defined, all console > - messages (by

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 14:16:56 Doug Anderson wrote: > As discussed previously on the U-Boot mailing list (see comments on > "Fix fixup_silent_linux() buffer overrun" patchset), relying on > "bootm" to mangle the Linux bootargs is not a suggested way to go. > We now officially deprecate it and

Re: [U-Boot] [RFC PATCH 1/2] fdt: Add fdtdec_find_aliases() to deal with alias nodes

2012-01-10 Thread Stephen Warren
On 12/26/2011 03:31 PM, Simon Glass wrote: > Stephen Warren pointed out that we should use nodes whether or not they > have an alias in the /aliases section. The aliases section specifies the > order so far as it can, but is not essential. Operating without alisses > is useful when the enumerated o

Re: [U-Boot] [PATCH 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
Dear Wolfgang, On Tue, Jan 10, 2012 at 11:46 AM, Wolfgang Denk wrote: > Hm...actually - why do we need both now?  This is ugly and makes > little sense to me. Having both CONFIG_SILENT_CONSOLE and CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE separate allows us to continue to use CONFIG_SILENT_CONSOLE

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
On Tue, Jan 10, 2012 at 12:18 PM, Mike Frysinger wrote: > personally i found the current behavior useful, but the code to implement it > is crappy.  oh well. Agreed. However, in the previous thread Wolfgang was of the view that the behavior of silencing linux is best achieved with scripts. I'm

Re: [U-Boot] [RFC PATCH 1/2] fdt: Add fdtdec_find_aliases() to deal with alias nodes

2012-01-10 Thread Simon Glass
Hi Stephen, On Tue, Jan 10, 2012 at 12:27 PM, Stephen Warren wrote: > On 12/26/2011 03:31 PM, Simon Glass wrote: >> Stephen Warren pointed out that we should use nodes whether or not they >> have an alias in the /aliases section. The aliases section specifies the >> order so far as it can, but is

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 16:04:27 Doug Anderson wrote: > I believe that you can do a script something like this (where > normal_bootargs is the old bootargs without the console= part, > console_args is the non-silent console settings, and old_bootcmd is > the old bootcmd): it's not exactly the s

[U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
As discussed previously on the U-Boot mailing list (see comments on "Fix fixup_silent_linux() buffer overrun" patchset), relying on "bootm" to mangle the Linux bootargs is not a suggested way to go. We now officially deprecate it and provide a way to avoid it (but still get the other CONFIG_SILENT

Re: [U-Boot] [RFC PATCH 1/2] fdt: Add fdtdec_find_aliases() to deal with alias nodes

2012-01-10 Thread Stephen Warren
On 01/10/2012 02:22 PM, Simon Glass wrote: > Hi Stephen, > > On Tue, Jan 10, 2012 at 12:27 PM, Stephen Warren wrote: >> On 12/26/2011 03:31 PM, Simon Glass wrote: >>> Stephen Warren pointed out that we should use nodes whether or not they >>> have an alias in the /aliases section. The aliases sec

[U-Boot] [PATCH v2 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
I have set this config option based on the existing usage of CONFIG_SILENT_CONSOLE. This is to support a future change deprecating the silencing of the linux console in bootm by having bootm modify the linux command-line arguments. Signed-off-by: Doug Anderson --- Changes in v2: - Define without

Re: [U-Boot] [PATCH v2 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 16:36:20 Doug Anderson wrote: > --- a/common/cmd_bootm.c > +++ b/common/cmd_bootm.c > > +static void fixup_silent_linux(void) __attribute__ ((deprecated)); __deprecated (from linux/compiler.h) > --- a/doc/README.silent > +++ b/doc/README.silent > > +CONFIG_DEPRECATED_SI

Re: [U-Boot] [PATCH v2] tegra: mmc: Support operation with dcache enabled

2012-01-10 Thread Stephen Warren
On 01/09/2012 04:20 PM, Simon Glass wrote: > When the data cache is enabled we must flush on write and invalidate > on read. We also check that buffers are aligned to data cache lines > boundaries. With recent work in U-Boot this should generally be the case > but the warnings will catch problems.

Re: [U-Boot] [PATCH v2 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 16:36:19 Doug Anderson wrote: > include/configs/bfin_adi_common.h |1 + don't bother. we didn't enable silent=1 by default in any of the Blackfin boards. just made the functionality available to people if they wanted to test things out with it when prototypi

Re: [U-Boot] [PATCH v3] tegra2: Enable data cache

2012-01-10 Thread Stephen Warren
On 01/09/2012 04:22 PM, Simon Glass wrote: > This enables the data cache on Tegra2 boards. > > As discussed on the list, this is better off in the Tegra2 cpu code than in a > particular vendor directory. We should be safe turning on the cache for all > Tegra2 boards. > > Signed-off-by: Simon Glas

[U-Boot] [PATCH v2 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Doug Anderson
If you would like the old behavior of having bootm modify the bootargs to silence the linux console when CONFIG_SILENT_CONSOLE is defined, you now need to define the config CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE. A previous change already added this new config to all known users of CONFIG_SILENT_CO

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message you wrote: > > > personally i found the current behavior useful, but the code to implement it > > is crappy.  oh well. > > Agreed. However, in the previous thread Wolfgang was of the view that > the behavior of silencing linux is best achieved with scripts. I'm O

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
Dear Wolfgang Denk, On Tue, Jan 10, 2012 at 2:16 PM, Wolfgang Denk wrote: > In which way would this approach avoid the problem (potential overflow > of cmdline max size) that you are trying to fix with your patch? The overflow will be avoided on any boards that don't define CONFIG_DEPRECATED_SIL

[U-Boot] [PATCH v3 0/3] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
As discussed previously on the U-Boot mailing list (see comments on "Fix fixup_silent_linux() buffer overrun" patchset), relying on "bootm" to mangle the Linux bootargs is not a suggested way to go. We now officially deprecate it and provide a way to avoid it (but still get the other CONFIG_SILENT

[U-Boot] [PATCH v3 1/3] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
I have set this config option based on the existing usage of CONFIG_SILENT_CONSOLE. This is to support a future change deprecating the silencing of the linux console in bootm by having bootm modify the linux command-line arguments. Signed-off-by: Doug Anderson --- Changes in v2: - Define without

[U-Boot] [PATCH v3 3/3] config: Remove Blackfin CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
As Mike Frysinger writes: We didn't enable silent=1 by default in any of the Blackfin boards Just made the functionality available to people if they wanted to test things out with it when prototyping on dev boards. Signed-off-by: Doug Anderson --- Changes in v3: - Added part 3 of the patch

Re: [U-Boot] [PATCH v2] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message <1319133298-30249-1-git-send-email-diand...@chromium.org> you wrote: > This makes fixup_silent_linux() use malloc() to allocate its > working space, meaning that our maximum kernel command line > should only be limited by malloc(). Previously it was silently > overf

Re: [U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message <1326231380-30128-1-git-send-email-diand...@chromium.org> you wrote: > > As discussed previously on the U-Boot mailing list (see comments on > "Fix fixup_silent_linux() buffer overrun" patchset), relying on Please provide a link. > "bootm" to mangle the Linux boot

[U-Boot] [PATCH v3 2/3] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Doug Anderson
If you would like the old behavior of having bootm modify the bootargs to silence the linux console when CONFIG_SILENT_CONSOLE is defined, you now need to define the config CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE. A previous change already added this new config to all known users of CONFIG_SILENT_CO

Re: [U-Boot] [PATCH v2 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message <1326231380-30128-3-git-send-email-diand...@chromium.org> you wrote: > If you would like the old behavior of having bootm modify the bootargs > to silence the linux console when CONFIG_SILENT_CONSOLE is defined, > you now need to define the config CONFIG_DEPRECATED_S

Re: [U-Boot] [PATCH v2 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message <1326231380-30128-2-git-send-email-diand...@chromium.org> you wrote: > I have set this config option based on the existing usage of > CONFIG_SILENT_CONSOLE. This is to support a future change > deprecating the silencing of the linux console in bootm by > having boot

Re: [U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
Dear Wolfgang Denk On Tue, Jan 10, 2012 at 2:30 PM, Wolfgang Denk wrote: >> As discussed previously on the U-Boot mailing list (see comments on >> "Fix fixup_silent_linux() buffer overrun" patchset), relying on > > Please provide a link. Sure! This is the message I'm referring to:

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message you wrote: > Dear Wolfgang Denk, > > On Tue, Jan 10, 2012 at 2:16 PM, Wolfgang Denk wrote: > > In which way would this approach avoid the problem (potential overflow > > of cmdline max size) that you are trying to fix with your patch? > > The overflow will be av

Re: [U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message you wrote: > > > Please provide a link. > > Sure! This is the message I'm referring to: > . I You should do so in the commit mesage (but judging from my current state of mind you can save the effo

Re: [U-Boot] [PATCH v2] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-10 Thread Doug Anderson
Dear Wolfgang Denk, On Tue, Jan 10, 2012 at 2:28 PM, Wolfgang Denk wrote: >> This makes fixup_silent_linux() use malloc() to allocate its >> working space, meaning that our maximum kernel command line >> should only be limited by malloc().  Previously it was silently >> overflowing the stack. > .

Re: [U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
Dear Wolfgang Denk, On Tue, Jan 10, 2012 at 2:48 PM, Wolfgang Denk wrote: > You should do so in the commit mesage (but judging from my current > state of mind you can save the efforts for a v4). Got it. If we end up with a v4, I'll add it. > I just replied to one of your earlier patches that

Re: [U-Boot] [PATCH V4] nand_spl_simple: store ecc data on the stack

2012-01-10 Thread Scott Wood
On 12/13/2011 01:33 PM, Stefano Babic wrote: > Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM > which is likely to contain already loaded data. > The patch saves the oob data and the ecc on the stack replacing > the fixed address in RAM. > > Signed-off-by: Stefano Babic

  1   2   >