Re: [U-Boot] [PATCH v2] ppc4xx: Remove unused code for Sequoia NAND booting version

2009-04-16 Thread Stefan Roese
On Thursday 16 April 2009, Wolfgang Denk wrote: > Overwriting the function definition in "cpu/ppc4xx/speed.c" with a > #define like here is pretty ugly. BTW: speed.c is not compiled in this NAND-booting version because of size reasons (4k limit). Forgot to mention this in my previous mail. Best

Re: [U-Boot] [PATCH v2] ppc4xx: Remove unused code for Sequoia NAND booting version

2009-04-16 Thread Stefan Roese
Hi Wolfgang, On Thursday 16 April 2009, Wolfgang Denk wrote: > Overwriting the function definition in "cpu/ppc4xx/speed.c" with a > #define like here is pretty ugly. > > Looking closer at this, I think the whole implementation of > get_bus_freq() needs to be cleaned up. Why does get_bus_freq() nee

Re: [U-Boot] [PATCH v2] ppc4xx: Remove unused code for Sequoia NAND booting version

2009-04-16 Thread Wolfgang Denk
Dear Stefan Roese, In message <1239866038-32703-1-git-send-email...@denx.de> you wrote: > The current define of get_bus_freq() in the CONFIG_NAND_SPL #ifdef is not > used at all. This patch changes it's define to the currently used value of > 1 and removes the unnecessary code. > > Signed

[U-Boot] [PATCH v2] ppc4xx: Remove unused code for Sequoia NAND booting version

2009-04-16 Thread Stefan Roese
The current define of get_bus_freq() in the CONFIG_NAND_SPL #ifdef is not used at all. This patch changes it's define to the currently used value of 1 and removes the unnecessary code. Signed-off-by: Stefan Roese --- board/amcc/sequoia/sdram.c |6 +- 1 files changed, 1 insertions