summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/omap3/board.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2012-11-13 07:57:54 +0000
committerTom Rini <trini@ti.com>2012-12-10 08:55:25 -0700
commite3fe62574d6ea1609a503d0a368bd93ef6c04bb8 (patch)
tree165d2244aae8d1154aa5afe5682ab471651a1268 /arch/arm/cpu/armv7/omap3/board.c
parent8c4445d26633f43fcd04add3d6cdc3bc41d14841 (diff)
downloadtalos-obmc-uboot-e3fe62574d6ea1609a503d0a368bd93ef6c04bb8.tar.gz
talos-obmc-uboot-e3fe62574d6ea1609a503d0a368bd93ef6c04bb8.zip
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>
Diffstat (limited to 'arch/arm/cpu/armv7/omap3/board.c')
-rw-r--r--arch/arm/cpu/armv7/omap3/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/omap3/board.c b/arch/arm/cpu/armv7/omap3/board.c
index f3cd81ad98..89c587e310 100644
--- a/arch/arm/cpu/armv7/omap3/board.c
+++ b/arch/arm/cpu/armv7/omap3/board.c
@@ -478,7 +478,7 @@ void omap3_outer_cache_disable(void)
*/
omap3_update_aux_cr(0, 0x2);
}
-#endif
+#endif /* !CONFIG_SYS_L2CACHE_OFF */
#ifndef CONFIG_SYS_DCACHE_OFF
void enable_caches(void)
@@ -486,4 +486,4 @@ void enable_caches(void)
/* Enable D-cache. I-cache is already enabled in start.S */
dcache_enable();
}
-#endif
+#endif /* !CONFIG_SYS_DCACHE_OFF */
OpenPOWER on IntegriCloud