Merge branch 'master' of git://git.denx.de/u-boot-nand-flash
[platform/kernel/u-boot.git] / include / configs / ppmc8260.h
index d99da2f..dd71862 100644 (file)
  *                    Monitor Stack Buffer (0x80)
  *     0x0FF5 FFB0     Board Info Data
  *     0x0FF6 0000     Malloc Arena
- *          :              CFG_ENV_SECT_SIZE, 256k
+ *          :              CONFIG_ENV_SECT_SIZE, 256k
  *          :              CFG_MALLOC_LEN,    128k
  *     0x0FFC 0000     RAM Copy of Monitor Code
  *          :              CFG_MONITOR_LEN,   256k
  * for FCC)
  *
  * if CONFIG_ETHER_NONE is defined, then either the ethernet routines must be
- * defined elsewhere (as for the console), or CFG_CMD_NET must be removed
- * from CONFIG_COMMANDS to remove support for networking.
+ * defined elsewhere (as for the console), or CONFIG_CMD_NET must be unset.
  */
 
 #undef CONFIG_ETHER_ON_SCC             /* define if ethernet on SCC    */
  * put in the same sector as U-Boot, and changing variables
  * will erase U-Boot temporarily
  */
-#define CFG_ENV_IN_OWN_SECT    1
+#define CONFIG_ENV_IN_OWN_SECT 1
 
 /* Define to allow the user to overwrite serial and ethaddr */
 #define CONFIG_ENV_OVERWRITE
  *     To stop use: " "
  */
 # define CONFIG_AUTOBOOT_KEYED
-# define CONFIG_AUTOBOOT_PROMPT "Autobooting in %d seconds, press \" \" to stop\n"
+# define CONFIG_AUTOBOOT_PROMPT \
+       "Autobooting in %d seconds, press \" \" to stop\n", bootdelay
 # define CONFIG_AUTOBOOT_STOP_STR      " "
 # undef CONFIG_AUTOBOOT_DELAY_STR
 # define DEBUG_BOOTKEYS                0
 /* Define a command string that is automatically executed when no character
  * is read on the console interface withing "Boot Delay" after reset.
  */
-#undef CONFIG_BOOT_ROOT_INITRD         /* Use ram disk for the root file system */
+#undef CONFIG_BOOT_ROOT_INITRD         /* Use ram disk for the root file system */
 #define        CONFIG_BOOT_ROOT_NFS            /* Use a NFS mounted root file system */
 
 #ifdef CONFIG_BOOT_ROOT_INITRD
        "bootm"
 #endif /* CONFIG_BOOT_ROOT_NFS */
 
-/* Add support for a few extra bootp options like:
- *     - File size
- *     - DNS
+
+/*
+ * BOOTP options
  */
-#define CONFIG_BOOTP_MASK      (CONFIG_BOOTP_DEFAULT | \
-                                CONFIG_BOOTP_BOOTFILESIZE | \
-                                CONFIG_BOOTP_DNS)
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+#define CONFIG_BOOTP_BOOTFILESIZE
+#define CONFIG_BOOTP_DNS
+
 
 /* undef this to save memory */
 #define CFG_LONGHELP
 #define CFG_STACK_USAGE                0x10000 /* Reserve 64k for the stack usage */
 #define CFG_MEM_END_USAGE      ( CFG_MONITOR_LEN \
                                + CFG_MALLOC_LEN \
-                               + CFG_ENV_SECT_SIZE \
+                               + CONFIG_ENV_SECT_SIZE \
                                + CFG_STACK_USAGE )
 
 #define CFG_MEMTEST_END                ( CFG_SDRAM_SIZE * 1024 * 1024 \
  */
 
 #define CFG_FLASH_CFI          1       /* Flash is CFI conformant              */
-#define CFG_FLASH_CFI_DRIVER   1       /* Use the common driver                */
+#define CONFIG_FLASH_CFI_DRIVER        1       /* Use the common driver                */
 #define CFG_MAX_FLASH_SECT     128     /* max number of sectors on one chip    */
 #define CFG_MAX_FLASH_BANKS    1       /* max number of memory banks           */
 #define CFG_FLASH_INCREMENT    0       /* there is only one bank               */
 
 #ifndef CFG_RAMBOOT
 
-#  define CFG_ENV_IS_IN_FLASH  1
-#  ifdef CFG_ENV_IN_OWN_SECT
-#    define CFG_ENV_ADDR       (CFG_MONITOR_BASE + 0x40000)
-#    define CFG_ENV_SECT_SIZE  0x40000
+#  define CONFIG_ENV_IS_IN_FLASH       1
+#  ifdef CONFIG_ENV_IN_OWN_SECT
+#    define CONFIG_ENV_ADDR    (CFG_MONITOR_BASE + 0x40000)
+#    define CONFIG_ENV_SECT_SIZE       0x40000
 #  else
-#    define CFG_ENV_ADDR (CFG_FLASH_BASE + CFG_MONITOR_LEN - CFG_ENV_SECT_SIZE)
-#    define CFG_ENV_SIZE       0x1000  /* Total Size of Environment Sector     */
-#    define CFG_ENV_SECT_SIZE  0x40000 /* see README - env sect real size      */
-#  endif /* CFG_ENV_IN_OWN_SECT */
+#    define CONFIG_ENV_ADDR (CFG_FLASH_BASE + CFG_MONITOR_LEN - CONFIG_ENV_SECT_SIZE)
+#    define CONFIG_ENV_SIZE    0x1000  /* Total Size of Environment Sector     */
+#    define CONFIG_ENV_SECT_SIZE       0x40000 /* see README - env sect real size      */
+#  endif /* CONFIG_ENV_IN_OWN_SECT */
 
 #else
-#  define CFG_ENV_IS_IN_FLASH  1
-#  define CFG_ENV_ADDR         (CFG_FLASH_BASE + 0x40000)
-#define CFG_ENV_SIZE           0x1000
-#  define CFG_ENV_SECT_SIZE    0x40000
+#  define CONFIG_ENV_IS_IN_FLASH       1
+#  define CONFIG_ENV_ADDR              (CFG_FLASH_BASE + 0x40000)
+#define CONFIG_ENV_SIZE                0x1000
+#  define CONFIG_ENV_SECT_SIZE 0x40000
 #endif /* CFG_RAMBOOT */
 
 /*-----------------------------------------------------------------------