]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/mach-exynos/include/mach/cpu.h
arm: exynos: realign the code to allow support for newer 64-bit platforms
[u-boot] / arch / arm / mach-exynos / include / mach / cpu.h
index 14a1692467de9a0a8c407b1019c2a4dd05ee5646..f12e3d610b3500a951d63de515e0894068233d9f 100644 (file)
@@ -270,7 +270,7 @@ IS_EXYNOS_TYPE(exynos5420, 0x5420)
 IS_EXYNOS_TYPE(exynos5422, 0x5422)
 
 #define SAMSUNG_BASE(device, base)                             \
-static inline unsigned int __attribute__((no_instrument_function)) \
+static inline unsigned long __attribute__((no_instrument_function)) \
        samsung_get_base_##device(void) \
 {                                                              \
        if (cpu_is_exynos4()) {                         \