summaryrefslogtreecommitdiff
path: root/cpu/arm1176/cpu.c
diff options
context:
space:
mode:
authorJoonyoung Shim <jy0922.shim@samsung.com>2010-02-08 22:00:52 +0900
committertrix <trix@windriver.com>2010-04-03 15:24:25 -0500
commit7b92159bd9fc0acaddd65b314da252b715d1b44e (patch)
tree9767b552b2029387ae4c7c8d57ab1100da3a47cb /cpu/arm1176/cpu.c
parent6c71a8fec95a9e0f90fbc47469c389c6f35d96bc (diff)
downloadu-boot-imx-7b92159bd9fc0acaddd65b314da252b715d1b44e.zip
u-boot-imx-7b92159bd9fc0acaddd65b314da252b715d1b44e.tar.gz
u-boot-imx-7b92159bd9fc0acaddd65b314da252b715d1b44e.tar.bz2
s3c64xx: Add ifdef at the S3C64XX only codes
The s3c6400.h file is only for S3C64XX cpu and the pheripheral port address(0x70000000 - 0x7fffffff) exists at only S3C64XX cpu, so they should be included by only S3C64XX cpu. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'cpu/arm1176/cpu.c')
-rw-r--r--cpu/arm1176/cpu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/arm1176/cpu.c b/cpu/arm1176/cpu.c
index 2c0014f..befa0cd 100644
--- a/cpu/arm1176/cpu.c
+++ b/cpu/arm1176/cpu.c
@@ -33,7 +33,9 @@
#include <common.h>
#include <command.h>
+#ifdef CONFIG_S3C64XX
#include <asm/arch/s3c6400.h>
+#endif
#include <asm/system.h>
static void cache_flush (void);