summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2012-11-13 08:12:08 +0000
committerTom Rini <trini@ti.com>2012-12-10 08:55:25 -0700
commitf281f299df5d6831c34c21478815f66aebb2f00f (patch)
tree5e1360451dba3df523fa071ebbf4255b4013162d /arch
parente3fe62574d6ea1609a503d0a368bd93ef6c04bb8 (diff)
downloadu-boot-imx-f281f299df5d6831c34c21478815f66aebb2f00f.zip
u-boot-imx-f281f299df5d6831c34c21478815f66aebb2f00f.tar.gz
u-boot-imx-f281f299df5d6831c34c21478815f66aebb2f00f.tar.bz2
omap4: Add comments on some "#endif"s for readability.
No functional changes, simply for readability. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/omap4/clocks.c2
-rw-r--r--arch/arm/cpu/armv7/omap4/hwinit.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/cpu/armv7/omap4/clocks.c b/arch/arm/cpu/armv7/omap4/clocks.c
index 5bd0a88..12c5803 100644
--- a/arch/arm/cpu/armv7/omap4/clocks.c
+++ b/arch/arm/cpu/armv7/omap4/clocks.c
@@ -44,7 +44,7 @@
*/
#define printf(fmt, args...)
#define puts(s)
-#endif
+#endif /* !CONFIG_SPL_BUILD */
struct omap4_prcm_regs *const prcm = (struct omap4_prcm_regs *)0x4A004100;
diff --git a/arch/arm/cpu/armv7/omap4/hwinit.c b/arch/arm/cpu/armv7/omap4/hwinit.c
index 2c34e48..f4123aa 100644
--- a/arch/arm/cpu/armv7/omap4/hwinit.c
+++ b/arch/arm/cpu/armv7/omap4/hwinit.c
@@ -116,7 +116,7 @@ void do_io_settings(void)
if ((omap4_rev < OMAP4460_ES1_0) || !readl(&ctrl->control_efuse_2))
writel(CONTROL_EFUSE_2_OVERRIDE, &ctrl->control_efuse_2);
}
-#endif
+#endif /* CONFIG_SPL_BUILD */
/* dummy fuction for omap4 */
void config_data_eye_leveling_samples(u32 emif_base)
@@ -182,4 +182,4 @@ void v7_outer_cache_disable(void)
{
set_pl310_ctrl_reg(0);
}
-#endif
+#endif /* !CONFIG_SYS_L2CACHE_OFF */