]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
omap4: Add comments on some "#endif"s for readability.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Tue, 13 Nov 2012 08:12:08 +0000 (08:12 +0000)
committerTom Rini <trini@ti.com>
Mon, 10 Dec 2012 15:55:25 +0000 (08:55 -0700)
No functional changes, simply for readability.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
arch/arm/cpu/armv7/omap4/clocks.c
arch/arm/cpu/armv7/omap4/hwinit.c

index 5bd0a88fdeb2b730a096602ca01702f63d7afe96..12c58033d2600371c78ab8ae8de40216c1e83c55 100644 (file)
@@ -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;
 
index 2c34e48f42854ae8227b29adf2dc5f39459fd8c4..f4123aaffca6a8b0bc5564b904d60b8d998f901d 100644 (file)
@@ -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 */