summaryrefslogtreecommitdiffstats
path: root/board
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-10-28 10:14:39 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-10-28 10:15:33 +0100
commitcd28862ddd0dd1a83b9a7cd10f9594049d7026d9 (patch)
tree484b959307ede879e32478604975ffd84cb9e930 /board
parent40a5f3de4e19d43fd34ddd0d81542f73ec64a287 (diff)
downloadbarebox-cd28862ddd0dd1a83b9a7cd10f9594049d7026d9.tar.gz
barebox-cd28862ddd0dd1a83b9a7cd10f9594049d7026d9.tar.xz
a9m2410dev: compile fixes
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'board')
-rw-r--r--board/a9m2440/a9m2410dev.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/board/a9m2440/a9m2410dev.c b/board/a9m2440/a9m2410dev.c
index 139d177366..1220bd9777 100644
--- a/board/a9m2440/a9m2410dev.c
+++ b/board/a9m2440/a9m2410dev.c
@@ -28,13 +28,15 @@
#include <driver.h>
#include <init.h>
#include <asm/io.h>
-#include <asm/arch/s3c24x0-iomap.h>
+#include <mach/s3c24x0-iomap.h>
/**
* Initialize the CPU to be able to work with the a9m2410dev evaluation board
*/
int a9m2410dev_devices_init(void)
{
+ unsigned int reg;
+
/* ---------- configure the GPIOs ------------- */
writel(0x007FFFFF, GPACON);
writel(0x00000000, GPCCON);