diff options
author | kevin.morfitt@fearnside-systems.co.uk <kevin.morfitt@fearnside-systems.co.uk> | 2009-11-17 18:30:34 +0900 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2009-11-27 16:26:13 -0600 |
commit | ac67804fbb2d82a19170066c02af7053d474ce8d (patch) | |
tree | bb7d9c3392dc690e87aa3e530fe5c99879e58a51 /cpu/arm920t/s3c24x0/usb_ohci.c | |
parent | a59a23d68ae4f4a1c07d105520c93e6e289d186f (diff) | |
download | u-boot-imx-ac67804fbb2d82a19170066c02af7053d474ce8d.zip u-boot-imx-ac67804fbb2d82a19170066c02af7053d474ce8d.tar.gz u-boot-imx-ac67804fbb2d82a19170066c02af7053d474ce8d.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 'cpu/arm920t/s3c24x0/usb_ohci.c')
-rw-r--r-- | cpu/arm920t/s3c24x0/usb_ohci.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/cpu/arm920t/s3c24x0/usb_ohci.c b/cpu/arm920t/s3c24x0/usb_ohci.c index 4111992..5aa8d64 100644 --- a/cpu/arm920t/s3c24x0/usb_ohci.c +++ b/cpu/arm920t/s3c24x0/usb_ohci.c @@ -36,14 +36,9 @@ #include <common.h> /* #include <pci.h> no PCI on the S3C24X0 */ -#ifdef CONFIG_USB_OHCI - -#if defined(CONFIG_S3C2400) -#include <asm/arch/s3c2400.h> -#elif defined(CONFIG_S3C2410) -#include <asm/arch/s3c2410.h> -#endif +#if defined(CONFIG_USB_OHCI) && defined(CONFIG_S3C24X0) +#include <asm/arch/s3c24x0_cpu.h> #include <asm/io.h> #include <malloc.h> #include <usb.h> @@ -1757,4 +1752,4 @@ int usb_lowlevel_stop(void) return 0; } -#endif /* CONFIG_USB_OHCI */ +#endif /* defined(CONFIG_USB_OHCI) && defined(CONFIG_S3C24X0) */ |