arm: sc8830: fix redefined macro warnings
[profile/mobile/platform/kernel/u-boot-tm1.git] / arch / arm / include / asm / arch-sc8830 / regs_global.h
index 5ba2e9d..159052b 100644 (file)
@@ -18,6 +18,9 @@
  #include <asm/arch/bits.h>
  
 /*----------Global Registers----------*/
+#ifdef GREG_BASE
+#undef GREG_BASE
+#endif
 #define GREG_BASE     0x4B000000
 
 #define GR_GEN0                         (GREG_BASE + 0x0008)