diff options
author | David Hendricks <dhendrix@chromium.org> | 2013-02-02 20:19:58 -0800 |
---|---|---|
committer | David Hendricks <dhendrix@chromium.org> | 2013-02-03 06:01:44 +0100 |
commit | 10883945dcb089d7c4908eacaab7cb8d955657a3 (patch) | |
tree | 9cb06ebdb93a8cdd5e3975db8a9efaa61aeeec30 /src/cpu | |
parent | fe18792a0887b5ba1ce8e0c8f9f6f1911395552a (diff) | |
download | coreboot-10883945dcb089d7c4908eacaab7cb8d955657a3.tar.xz |
exynos5250: remove CPU check from samsung_get_base_* macro
The cpu_is_exynos5() macro seems broken at the moment, so skip it.
The macro is superfluous and will probably be replaced eventually,
but at least this will un-break usage sites.
Change-Id: Ibd360cbfa18047ad8a3488d4f24c3fc4d7415eba
Signed-off-by: David Hendricks <dhendrix@chromium.org>
Reviewed-on: http://review.coreboot.org/2264
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/samsung/exynos5250/cpu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cpu/samsung/exynos5250/cpu.h b/src/cpu/samsung/exynos5250/cpu.h index f399a427ce..b8598239ca 100644 --- a/src/cpu/samsung/exynos5250/cpu.h +++ b/src/cpu/samsung/exynos5250/cpu.h @@ -81,11 +81,19 @@ #ifndef __ASSEMBLER__ +/* FIXME(dhendrix): cpu_is_exynos5() seems broken atm... */ +#if 0 #define SAMSUNG_BASE(device, base) \ static inline unsigned int samsung_get_base_##device(void) \ { \ return cpu_is_exynos5() ? EXYNOS5_##base : 0; \ } +#endif +#define SAMSUNG_BASE(device, base) \ +static inline unsigned int samsung_get_base_##device(void) \ +{ \ + return EXYNOS5_##base; \ +} SAMSUNG_BASE(adc, ADC_BASE) SAMSUNG_BASE(clock, CLOCK_BASE) |