]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
mpc512x: add common LAW and Chip Select configuration
authorAnatolij Gustschin <agust@denx.de>
Fri, 8 Feb 2013 00:03:43 +0000 (00:03 +0000)
committerWolfgang Denk <wd@denx.de>
Sat, 9 Mar 2013 07:20:54 +0000 (08:20 +0100)
commitb84d6d27fc32cb0a069b861147d182655e22c302
tree75a98abff2bbe1f660d0ece3d19e00bc10a6f9d5
parentaed7548448951f1b25102306f7a149cc33b3a10c
mpc512x: add common LAW and Chip Select configuration

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@denx.de>
arch/powerpc/cpu/mpc512x/cpu_init.c