arm: Disable ATAGs support
[platform/kernel/u-boot.git] / board / compulab / cm_fx6 / cm_fx6.c
index f29b082..c54bffd 100644 (file)
@@ -720,10 +720,12 @@ int dram_init(void)
        return 0;
 }
 
+#ifdef CONFIG_REVISION_TAG
 u32 get_board_rev(void)
 {
        return cl_eeprom_get_board_rev(CONFIG_SYS_I2C_EEPROM_BUS);
 }
+#endif
 
 static struct mxc_serial_plat cm_fx6_mxc_serial_plat = {
        .reg = (struct mxc_uart *)UART4_BASE,