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

Wolfgang Denk wd at denx.de
Wed Apr 15 23:53:50 CEST 2009


Dear Stefan Roese,

In message <1239788018-27468-1-git-send-email-sr at denx.de> you wrote:
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
>  board/amcc/sequoia/sdram.c |    6 +-----
>  1 files changed, 1 insertions(+), 5 deletions(-)
> 
> diff --git a/board/amcc/sequoia/sdram.c b/board/amcc/sequoia/sdram.c
> index c26e6ee..6df4c6d 100644
> --- a/board/amcc/sequoia/sdram.c
> +++ b/board/amcc/sequoia/sdram.c
> @@ -44,7 +44,7 @@ extern void denali_core_search_data_eye(void);
>   * for the 4k NAND boot image so define bus_frequency to 133MHz here
>   * which is save for the refresh counter setup.
>   */
> -#define get_bus_freq(val)	133000000
> +#define get_bus_freq(val)	133333333
>  #endif

To me that does not look exactly like duplicated code removal...

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's a small world, but I wouldn't want to paint it.


More information about the U-Boot mailing list