mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
Minor cleanup.
This commit is contained in:
parent
278bc4b37f
commit
977b50f868
|
@ -2,6 +2,8 @@
|
|||
Changes since U-Boot 1.1.4:
|
||||
======================================================================
|
||||
|
||||
* Minor cleanup.
|
||||
|
||||
* Update yosemite configuration to enable flash write buffer support
|
||||
Patch by Stefan Roese, 10 May 2006
|
||||
|
||||
|
|
|
@ -53,8 +53,7 @@ long int initdram (int board_type) {
|
|||
* Check to see if the SDRAM has already been initialized
|
||||
* by a run control tool
|
||||
*/
|
||||
if (!(mbar_readLong(MCF_SDRAMC_DACR0) & MCF_SDRAMC_DACRn_RE))
|
||||
{
|
||||
if (!(mbar_readLong(MCF_SDRAMC_DACR0) & MCF_SDRAMC_DACRn_RE)) {
|
||||
/* Initialize DRAM Control Register: DCR */
|
||||
mbar_writeShort(MCF_SDRAMC_DCR,
|
||||
MCF_SDRAMC_DCR_RTIM(0x01)
|
||||
|
|
|
@ -47,8 +47,7 @@ long int initdram (int board_type) {
|
|||
* Check to see if the SDRAM has already been initialized
|
||||
* by a run control tool
|
||||
*/
|
||||
if (!(mbar_readLong(MCF_SDRAMC_DACR0) & MCF_SDRAMC_DACRn_RE))
|
||||
{
|
||||
if (!(mbar_readLong(MCF_SDRAMC_DACR0) & MCF_SDRAMC_DACRn_RE)) {
|
||||
/*
|
||||
* Initialize DRAM Control Register: DCR
|
||||
*/
|
||||
|
|
|
@ -242,4 +242,3 @@ int print_cpuinfo (void)
|
|||
}
|
||||
|
||||
#endif /* #if defined(CONFIG_DISPLAY_CPUINFO) && defined(CONFIG_OMAP) */
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user