diff options
author | kevin.morfitt@fearnside-systems.co.uk <kevin.morfitt@fearnside-systems.co.uk> | 2009-11-17 09:30:34 (GMT) |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2009-11-27 22:26:13 (GMT) |
commit | ac67804fbb2d82a19170066c02af7053d474ce8d (patch) | |
tree | bb7d9c3392dc690e87aa3e530fe5c99879e58a51 /drivers/rtc/s3c24x0_rtc.c | |
parent | a59a23d68ae4f4a1c07d105520c93e6e289d186f (diff) | |
download | u-boot-fsl-qoriq-ac67804fbb2d82a19170066c02af7053d474ce8d.tar.xz |
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/rtc/s3c24x0_rtc.c')
-rw-r--r-- | drivers/rtc/s3c24x0_rtc.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/rtc/s3c24x0_rtc.c b/drivers/rtc/s3c24x0_rtc.c index 2d78f93..04de5ca 100644 --- a/drivers/rtc/s3c24x0_rtc.c +++ b/drivers/rtc/s3c24x0_rtc.c @@ -30,11 +30,7 @@ #if (defined(CONFIG_CMD_DATE)) -#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 <rtc.h> #include <asm/io.h> |