]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - arch/arm/cpu/armv7/omap5/hwinit.c
ARM: OMAP4/5: Make OMAPx_SRAM_SCRATCH_ defines common
[karo-tx-uboot.git] / arch / arm / cpu / armv7 / omap5 / hwinit.c
index d29df787206e0489874d838038fee17e1779b790..e192fea0ebccfd141bc37346f2f8e975003c74f4 100644 (file)
 #include <asm/utils.h>
 #include <asm/arch/gpio.h>
 #include <asm/emif.h>
+#include <asm/omap_common.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
-u32 *const omap_si_rev = (u32 *)OMAP5_SRAM_SCRATCH_OMAP5_REV;
+u32 *const omap_si_rev = (u32 *)OMAP_SRAM_SCRATCH_OMAP_REV;
 
 static struct gpio_bank gpio_bank_54xx[6] = {
        { (void *)OMAP54XX_GPIO1_BASE, METHOD_GPIO_24XX },