summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorkevin.morfitt@fearnside-systems.co.uk <kevin.morfitt@fearnside-systems.co.uk>2009-11-17 18:30:34 +0900
committerMinkyu Kang <mk7.kang@samsung.com>2009-11-20 19:02:17 +0900
commit33bf447477ff38eda46529b346677856b53e0f87 (patch)
tree08752d8593dfa6784b164493c5b789e6c21d3800 /drivers/i2c
parent1f8b91962941d6a1bfff4993a2f3ed125f7c7e56 (diff)
downloadu-boot-imx-33bf447477ff38eda46529b346677856b53e0f87.zip
u-boot-imx-33bf447477ff38eda46529b346677856b53e0f87.tar.gz
u-boot-imx-33bf447477ff38eda46529b346677856b53e0f87.tar.bz2
Add a unified s3c24x0 header file
This patch adds a unified s3c24x0 cpu header file that selects the header file for the specific s3c24x0 cpu from the SOC and CPU configs defined in board config file. This removes the current chain of s3c24-type #ifdef's from the s3c24x0 code. Signed-off-by: Kevin Morfitt <kevin.morfitt@fearnside-systems.co.uk> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/s3c24x0_i2c.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/i2c/s3c24x0_i2c.c b/drivers/i2c/s3c24x0_i2c.c
index 8fecc6e..c8371cf 100644
--- a/drivers/i2c/s3c24x0_i2c.c
+++ b/drivers/i2c/s3c24x0_i2c.c
@@ -27,11 +27,7 @@
*/
#include <common.h>
-#if defined(CONFIG_S3C2400)
-#include <asm/arch/s3c2400.h>
-#elif defined(CONFIG_S3C2410)
-#include <asm/arch/s3c2410.h>
-#endif
+#include <asm/arch/s3c24x0_cpu.h>
#include <asm/io.h>
#include <i2c.h>