From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sat, 09 Mar 2013 14:45:53 +0100 Subject: [U-Boot] [PATCH 1/8] mpc512x: add common LAW and Chip Select configuration In-Reply-To: <1360317830-28525-2-git-send-email-agust@denx.de> References: <1360317830-28525-1-git-send-email-agust@denx.de> <1360317830-28525-2-git-send-email-agust@denx.de> Message-ID: <20130309134553.151C120054E@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Anatolij Gustschin, In message <1360317830-28525-2-git-send-email-agust@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 > --- > 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