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 /include/common.h | |
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 'include/common.h')
-rw-r--r-- | include/common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/common.h b/include/common.h index f7c93bf..8ee80c1 100644 --- a/include/common.h +++ b/include/common.h @@ -495,8 +495,9 @@ int prt_mpc8220_clks (void); ulong get_OPB_freq (void); ulong get_PCI_freq (void); #endif -#if defined(CONFIG_S3C2400) || defined(CONFIG_S3C2410) || \ - defined(CONFIG_LH7A40X) || defined(CONFIG_S3C6400) +#if defined(CONFIG_S3C24X0) || \ + defined(CONFIG_LH7A40X) || \ + defined(CONFIG_S3C6400) ulong get_FCLK (void); ulong get_HCLK (void); ulong get_PCLK (void); |