mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 03:51:31 +00:00
omap3: Add a few comments to "#endif"s for readability.
No functional changes, just more comments for readability when a preprocessor check spans more than a few lines, and for consistency. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
This commit is contained in:
parent
8c4445d266
commit
e3fe62574d
2 changed files with 4 additions and 4 deletions
|
@ -478,7 +478,7 @@ void omap3_outer_cache_disable(void)
|
||||||
*/
|
*/
|
||||||
omap3_update_aux_cr(0, 0x2);
|
omap3_update_aux_cr(0, 0x2);
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* !CONFIG_SYS_L2CACHE_OFF */
|
||||||
|
|
||||||
#ifndef CONFIG_SYS_DCACHE_OFF
|
#ifndef CONFIG_SYS_DCACHE_OFF
|
||||||
void enable_caches(void)
|
void enable_caches(void)
|
||||||
|
@ -486,4 +486,4 @@ void enable_caches(void)
|
||||||
/* Enable D-cache. I-cache is already enabled in start.S */
|
/* Enable D-cache. I-cache is already enabled in start.S */
|
||||||
dcache_enable();
|
dcache_enable();
|
||||||
}
|
}
|
||||||
#endif
|
#endif /* !CONFIG_SYS_DCACHE_OFF */
|
||||||
|
|
|
@ -42,7 +42,7 @@ static const u32 gpmc_m_nand[GPMC_MAX_REG] = {
|
||||||
M_NAND_GPMC_CONFIG5,
|
M_NAND_GPMC_CONFIG5,
|
||||||
M_NAND_GPMC_CONFIG6, 0
|
M_NAND_GPMC_CONFIG6, 0
|
||||||
};
|
};
|
||||||
#endif
|
#endif /* CONFIG_CMD_NAND */
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_ONENAND)
|
#if defined(CONFIG_CMD_ONENAND)
|
||||||
static const u32 gpmc_onenand[GPMC_MAX_REG] = {
|
static const u32 gpmc_onenand[GPMC_MAX_REG] = {
|
||||||
|
@ -53,7 +53,7 @@ static const u32 gpmc_onenand[GPMC_MAX_REG] = {
|
||||||
ONENAND_GPMC_CONFIG5,
|
ONENAND_GPMC_CONFIG5,
|
||||||
ONENAND_GPMC_CONFIG6, 0
|
ONENAND_GPMC_CONFIG6, 0
|
||||||
};
|
};
|
||||||
#endif
|
#endif /* CONFIG_CMD_ONENAND */
|
||||||
|
|
||||||
/********************************************************
|
/********************************************************
|
||||||
* mem_ok() - test used to see if timings are correct
|
* mem_ok() - test used to see if timings are correct
|
||||||
|
|
Loading…
Add table
Reference in a new issue