arm: Disable ATAGs support
[platform/kernel/u-boot.git] / board / ti / sdp4430 / sdp.c
index 3fd9730..69726eb 100644 (file)
@@ -12,6 +12,7 @@
 #include <serial.h>
 #include <asm/arch/sys_proto.h>
 #include <asm/arch/mmc_host_def.h>
+#include <asm/global_data.h>
 
 #include "sdp4430_mux_data.h"
 
@@ -103,6 +104,7 @@ int spl_start_uboot(void)
 }
 #endif /* CONFIG_SPL_OS_BOOT */
 
+#ifdef CONFIG_REVISION_TAG
 /*
  * get_board_rev() - get board revision
  */
@@ -110,3 +112,4 @@ u32 get_board_rev(void)
 {
        return 0x20;
 }
+#endif