[U-Boot] [PATCH 1/8] mpc512x: add common LAW and Chip Select configuration
Wolfgang Denk
wd at denx.de
Sat Mar 9 14:45:53 CET 2013
Dear Anatolij Gustschin,
In message <1360317830-28525-2-git-send-email-agust at denx.de> you wrote:
> Currently each mpc512x board has its own LAW and CS config code,
> we should avoid this code duplication. Allow all boards to use
> common code by only defining LAW and CS config macros like
> CONFIG_SYS_CSx_START, CONFIG_SYS_CSx_SIZE and CONFIG_SYS_CSx_CFG.
>
> Also allow common configuration of additional CS parameters by
> CONFIG_SYS_CS_ALETIMING, CONFIG_SYS_CS_BURST, CONFIG_SYS_CS_DEADCYCLE
> and CONFIG_SYS_CS_HOLDCYCLE options.
>
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
> arch/powerpc/cpu/mpc512x/cpu_init.c | 96 +++++++++++++++++++++++++++++++++++
> 1 files changed, 96 insertions(+), 0 deletions(-)
Applied to u-boot-mpc5xxx repo, thanks.
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
Only two things are infinite, the universe and human stupidity, and
I'm not sure about the former. -- Albert Einstein
More information about the U-Boot
mailing list