[PATCH 09/17] pcm043: Speed up NAND controller before copying barebox image
Sascha Hauer
s.hauer at pengutronix.de
Mon May 3 09:09:26 EDT 2010
Hi Peter,
On Mon, May 03, 2010 at 01:29:40PM +0200, Peter Korsgaard wrote:
> >>>>> "Sascha" == Sascha Hauer <s.hauer at pengutronix.de> writes:
>
> Sascha> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> Sascha> ---
> Sascha> board/pcm043/pcm043.c | 7 +++++++
> Sascha> 1 files changed, 7 insertions(+), 0 deletions(-)
>
> Sascha> diff --git a/board/pcm043/pcm043.c b/board/pcm043/pcm043.c
> Sascha> index 2ce7e3a..d8cd7b8 100644
> Sascha> --- a/board/pcm043/pcm043.c
> Sascha> +++ b/board/pcm043/pcm043.c
> Sascha> @@ -393,6 +393,13 @@ BAREBOX_CMD_END
> Sascha> #ifdef CONFIG_NAND_IMX_BOOT
> Sascha> void __bare_init nand_boot(void)
> Sascha> {
> Sascha> + u32 val;
> Sascha> +
> Sascha> + val = readl(IMX_CCM_BASE + CCM_PDR4);
> Sascha> + val &= ~(0xf << 28);
> Sascha> + val |= 0x1 << 28;
> Sascha> + writel(val, IMX_CCM_BASE + CCM_PDR4);
>
> A comment describing what this does might be nice.
I dropped this patch since this is being touched in the reimplement-in-C
patch later anyway. The other patch also adds a comment.
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list