summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91/at91sam9260.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-05-03 01:11:25 +0800
committerArnd Bergmann <arnd@arndb.de>2011-07-28 15:07:28 +0000
commit1ff5b1b411bf8a8157ae949a1b3ed8666d96c1db (patch)
treee323223c27e8070412f47f9ae09e62cbc2edf71d /arch/arm/mach-at91/at91sam9260.c
parent92100c12ca1bc5f347ff41c1413f9db07c4d276c (diff)
downloadtalos-obmc-linux-1ff5b1b411bf8a8157ae949a1b3ed8666d96c1db.tar.gz
talos-obmc-linux-1ff5b1b411bf8a8157ae949a1b3ed8666d96c1db.zip
at91: remove AT91_DBGU offset from dbgu register macro
to make the soc base specified at runtime instead of compiled time Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/mach-at91/at91sam9260.c')
-rw-r--r--arch/arm/mach-at91/at91sam9260.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-at91/at91sam9260.c b/arch/arm/mach-at91/at91sam9260.c
index 164873fa965f..57974b19d7a7 100644
--- a/arch/arm/mach-at91/at91sam9260.c
+++ b/arch/arm/mach-at91/at91sam9260.c
@@ -324,7 +324,7 @@ static void __init at91sam9xe_map_io(void)
{
unsigned long cidr, sram_size;
- cidr = at91_sys_read(AT91_DBGU_CIDR);
+ cidr = dbgu_readl(AT91_DBGU, CIDR);
switch (cidr & AT91_CIDR_SRAMSIZ) {
case AT91_CIDR_SRAMSIZ_32K:
OpenPOWER on IntegriCloud