rename CFG_ENV macros to CONFIG_ENV
[platform/kernel/u-boot.git] / include / configs / AmigaOneG3SE.h
index 661149e..a6e9228 100644 (file)
@@ -54,7 +54,7 @@
 
 #undef CONFIG_CLOCKS_IN_MHZ            /* clocks passed to Linux in Hz */
 
-#define CONFIG_BOOTARGS                "root=/dev/ram rw ramdisk=4096"
+#define CONFIG_BOOTARGS                "root=/dev/ram rw ramdisk_size=4096"
 
 /*
  * BOOTP options
@@ -95,6 +95,8 @@
 /* #define CONFIG_PCI_SCAN_SHOW 1 */
 #define CONFIG_PCI_PNP         1       /* PCI plug-and-play */
 
+#define atoi(x)                simple_strtoul(x,NULL,10)
+
 /*
  * Miscellaneous configurable options
  */
 /*
  * Environment is stored in NVRAM.
  */
-#define CFG_ENV_IS_IN_NVRAM    1
-#define CFG_ENV_ADDR           0xFD0E0000 /* This should be 0xFD0E0000, but we skip bytes to
+#define CONFIG_ENV_IS_IN_NVRAM 1
+#define CONFIG_ENV_ADDR                0xFD0E0000 /* This should be 0xFD0E0000, but we skip bytes to
                                            * protect softex's settings for now.
                                            * Original 768 bytes where not enough.
                                            */
-#define CFG_ENV_SIZE           0x8000     /* Size of the Environment. See comment above */
+#define CONFIG_ENV_SIZE                0x8000     /* Size of the Environment. See comment above */
 
 #define CFG_CONSOLE_IS_IN_ENV  1 /* stdin/stdout/stderr are in environment */
 #define CFG_CONSOLE_OVERWRITE_ROUTINE  1
 #define CONFIG_BOOTDELAY       5 /* Boot automatically after five seconds */
 #define CONFIG_PREBOOT         ""
 #define CONFIG_BOOTCOMMAND     "fdcboot; diskboot"
-#define CONFIG_MENUPROMPT      "Press any key to interrupt autoboot: %2d "
+#define CONFIG_MENUPROMPT      \
+       "Press any key to interrupt autoboot: %2d ", bootdelay
 #define CONFIG_MENUKEY         ' '
 #define CONFIG_MENUCOMMAND     "menu"
 /* #define CONFIG_AUTOBOOT_KEYED */