Merge branch 'master' of /home/wd/git/u-boot/custodians
[platform/kernel/u-boot.git] / include / configs / ADNPESC1.h
index d4ee14c..9b84d1f 100644 (file)
  * appropriately -- this is very important if you plan to move your
  * memory to another place as configured at this time !!!).
  *
- *     -The heap is placed below the monitor.
- *     -Global data is placed below the heap.
- *     -The stack is placed below global data (&grows down).
+ *     -The heap is placed below the monitor.
+ *     -Global data is placed below the heap.
+ *     -The stack is placed below global data (&grows down).
  *----------------------------------------------------------------------*/
 #define CFG_MONITOR_LEN                (256 * 1024)    /* Reserve 256k         */
 #define CFG_GBL_DATA_SIZE      128             /* Global data size rsvd*/
-#define CFG_MALLOC_LEN         (CFG_ENV_SIZE + 128*1024)
+#define CFG_MALLOC_LEN         (CONFIG_ENV_SIZE + 128*1024)
 
 #define CFG_MONITOR_BASE       TEXT_BASE
 #define CFG_MALLOC_BASE                (CFG_MONITOR_BASE - CFG_MALLOC_LEN)
  *----------------------------------------------------------------------*/
 #if    (CFG_NIOS_CPU_FLASH_SIZE != 0)
 
-#define        CFG_ENV_IS_IN_FLASH     1               /* Environment in flash */
+#define        CONFIG_ENV_IS_IN_FLASH  1               /* Environment in flash */
 
 /* Mem addr of environment */
 #if    defined(CONFIG_NIOS_BASE_32)
-#define CFG_ENV_ADDR           (CFG_FLASH_BASE + CFG_MONITOR_LEN)
+#define CONFIG_ENV_ADDR                (CFG_FLASH_BASE + CFG_MONITOR_LEN)
 #else
-#error *** CFG_ERROR: you have to setup the environment base address CFG_ENV_ADDR
+#error *** CFG_ERROR: you have to setup the environment base address CONFIG_ENV_ADDR
 #endif
 
-#define CFG_ENV_SIZE           (64 * 1024)     /* 64 KByte (1 sector)  */
+#define CONFIG_ENV_SIZE                (64 * 1024)     /* 64 KByte (1 sector)  */
 #define CONFIG_ENV_OVERWRITE                   /* Serial/eth change Ok */
 
 #else
-#define        CFG_ENV_IS_NOWHERE      1               /* NO Environment       */
+#define        CONFIG_ENV_IS_NOWHERE   1               /* NO Environment       */
 #endif
 
 /*------------------------------------------------------------------------
  * NIOS APPLICATION CODE BASE AREA
  *----------------------------------------------------------------------*/
-#if    ((CFG_ENV_ADDR + CFG_ENV_SIZE) == 0x1050000)
+#if    ((CONFIG_ENV_ADDR + CONFIG_ENV_SIZE) == 0x1050000)
 #define        CFG_ADNPESC1_UPDATE_LOAD_ADDR   "0x2000100"
 #define CFG_ADNPESC1_NIOS_APPL_ENTRY   "0x1050000"
 #define CFG_ADNPESC1_NIOS_APPL_IDENT   "0x105000c"
 #define        CONFIG_POST                     CFG_POST_RTC
 #define        CFG_NIOS_POST_WORD_ADDR         (CFG_MONITOR_BASE + CFG_MONITOR_LEN)
 
-
-
 /*
  * BOOTP options
  */
 /*
  * Command line configuration.
  */
-#include <config_cmd_all.h>
-
-#undef CONFIG_CMD_ASKENV
-#undef CONFIG_CMD_BEDBUG
-#undef CONFIG_CMD_BMP
-#undef CONFIG_CMD_CACHE
-#undef CONFIG_CMD_DOC
-#undef CONFIG_CMD_DTT
-#undef CONFIG_CMD_EEPROM
-#undef CONFIG_CMD_ELF   
-#undef CONFIG_CMD_FAT
-#undef CONFIG_CMD_FDC
-#undef CONFIG_CMD_FDOS
-#undef CONFIG_CMD_HWFLOW
-#undef CONFIG_CMD_IDE
-#undef CONFIG_CMD_I2C
-#undef CONFIG_CMD_JFFS2
-#undef CONFIG_CMD_KGDB
-#undef CONFIG_CMD_NAND
+#include <config_cmd_default.h>
+
+#define CONFIG_CMD_BSP
+#define CONFIG_CMD_CDP
+#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_DIAG
+#define CONFIG_CMD_DISPLAY
+#define CONFIG_CMD_EXT2
+#define CONFIG_CMD_IMMAP
+#define CONFIG_CMD_IRQ
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_PORTIO
+#define CONFIG_CMD_REGINFO
+#define CONFIG_CMD_REISER
+#define CONFIG_CMD_SAVES
+#define CONFIG_CMD_SDRAM
+#define CONFIG_CMD_SNTP
+
 #undef CONFIG_CMD_NFS
-#undef CONFIG_CMD_MMC
-#undef CONFIG_CMD_MII
-#undef CONFIG_CMD_PCI
-#undef CONFIG_CMD_PCMCIA
-#undef CONFIG_CMD_SCSI
-#undef CONFIG_CMD_VFD
-#undef CONFIG_CMD_USB
 #undef CONFIG_CMD_XIMG
 
-#if (CFG_NIOS_CPU_SPI_NUMS != 1)
-#undef CONFIG_CMD_SPI
-#undef CONFIG_CMD_DATE
+#if (CFG_NIOS_CPU_SPI_NUMS == 1)
+#define CONFIG_CMD_DATE
+#define CONFIG_CMD_SPI
 #endif
 
-
 /*------------------------------------------------------------------------
  * KGDB
  *----------------------------------------------------------------------*/
 #undef CFG_LOAD_ADDR           /* force error break */
 #endif
 
-
 /* MEM test area */
 #if    (CFG_SDRAM_SIZE != 0)