rename CFG_ENV_IS_IN_NVRAM in CONFIG_ENV_IS_IN_NVRAM
[platform/kernel/u-boot.git] / include / configs / MPC8260ADS.h
index 23508f9..735cfaa 100644 (file)
 
 #define CONFIG_BAUDRATE                115200
 
+#define CONFIG_OF_LIBFDT       1
+#define CONFIG_OF_BOARD_SETUP  1
+#if defined(CONFIG_OF_LIBFDT)
+#define OF_CPU                 "cpu@0"
+#define OF_TBCLK               (bd->bi_busfreq / 4)
+#endif
+
 /*
  * BOOTP options
  */
 #  define CFG_ENV_SECT_SIZE    0x40000
 #  define CFG_ENV_ADDR         (CFG_MONITOR_BASE + CFG_ENV_SECT_SIZE)
 #else
-#  define CFG_ENV_IS_IN_NVRAM  1
+#  define CONFIG_ENV_IS_IN_NVRAM       1
 #  define CFG_ENV_ADDR         (CFG_MONITOR_BASE - 0x1000)
 #  define CFG_ENV_SIZE         0x200
 #endif /* CFG_RAMBOOT */