From: Reinhard Meyer <u-boot@emk-elektronik.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 2/3] avr32: Use uncached() macro to get an address for SDRAM init
Date: Fri, 03 Sep 2010 16:37:43 +0200 [thread overview]
Message-ID: <4C810837.9050306@emk-elektronik.de> (raw)
In-Reply-To: <1281595974-32279-3-git-send-email-haavard.skinnemoen@atmel.com>
Haavard Skinnemoen schrieb:
> The paging system which is required to set up caching properties has not
> yet been initialized when the SDRAM is initialized. So when the
> map_physmem() function is converted to return the physical address
> unchanged, the SDRAM initialization will break on some boards.
>
> The avr32-specific uncached() macro will return an address which will
> always cause uncached accessed to be made. Since this happens in the
> board code, using avr32-specific features should be ok, and will allow
> the SDRAM initialization to keep working.
>
> Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
> ---
> board/atmel/atngw100/atngw100.c | 4 +---
> board/atmel/atstk1000/atstk1000.c | 4 +---
> board/earthlcd/favr-32-ezkit/favr-32-ezkit.c | 4 +---
> board/mimc/mimc200/mimc200.c | 4 +---
> board/miromico/hammerhead/hammerhead.c | 4 +---
> 5 files changed, 5 insertions(+), 15 deletions(-)
Applied to u-boot-atmel/avr32
Thanks,
Reinhard
next prev parent reply other threads:[~2010-09-03 14:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-12 6:52 [U-Boot] [PATCH v2 0/3] avr32: simple paging support Haavard Skinnemoen
2010-08-12 6:52 ` [U-Boot] [PATCH v2 1/3] avr32: Print unrelocated PC on exception Haavard Skinnemoen
2010-09-03 11:51 ` Reinhard Meyer
2010-09-03 13:19 ` Andreas Bießmann
2010-09-03 14:37 ` Reinhard Meyer
2010-08-12 6:52 ` [U-Boot] [PATCH v2 2/3] avr32: Use uncached() macro to get an address for SDRAM init Haavard Skinnemoen
2010-08-12 15:04 ` Detlev Zundel
2010-08-13 3:56 ` Haavard Skinnemoen
2010-08-13 11:01 ` Detlev Zundel
2010-08-13 12:12 ` Haavard Skinnemoen
2010-08-13 13:01 ` Detlev Zundel
2010-09-03 11:16 ` Andreas Bießmann
2010-09-03 14:37 ` Reinhard Meyer [this message]
2010-08-12 6:52 ` [U-Boot] [PATCH v2 3/3] avr32: Add simple paging support Haavard Skinnemoen
2010-09-03 11:10 ` Andreas Bießmann
2010-09-03 14:38 ` Reinhard Meyer
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=4C810837.9050306@emk-elektronik.de \
--to=u-boot@emk-elektronik.de \
--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