From: R Sricharan <r.sricharan@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] omap4: Add comments on some "#endif"s for readability.
Date: Wed, 14 Nov 2012 18:46:50 +0530 [thread overview]
Message-ID: <50A399C2.4080309@ti.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1211131310440.6909@oneiric>
On Tuesday 13 November 2012 11:42 PM, Robert P. J. Day wrote:
>
> No functional changes, simply for readability.
>
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
>
> ---
>
> 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 */
>
>
Thanks..
Regards,
Sricharan
next prev parent reply other threads:[~2012-11-14 13:16 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-13 18:12 [U-Boot] [PATCH] omap4: Add comments on some "#endif"s for readability Robert P. J. Day
2012-11-14 13:16 ` R Sricharan [this message]
2012-12-10 20:16 ` [U-Boot] " Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50A399C2.4080309@ti.com \
--to=r.sricharan@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox