0966e245a10ede0b760ef8be0f87c34868c9c75b
[oweals/u-boot_mod.git] / u-boot / include / configs / ar7240.h
1 /*
2  * This file contains the configuration parameters for the dbau1x00 board.
3  */
4
5 #ifndef __AR7240_H
6 #define __AR7240_H
7
8 #ifndef CONFIG_BOOTDELAY
9 #define CONFIG_BOOTDELAY        1                                                                       /* autoboot after x seconds */
10 #endif
11
12 #define CONFIG_MENUPROMPT                       "Hit any key to stop autobooting: %2d "
13 #define CONFIG_AUTOBOOT_PROMPT          "Autobooting in:\t%d s (type 'tpl' to run U-Boot console)\n\n"
14 #define CONFIG_AUTOBOOT_STOP_STR        "tpl"
15 #undef  CONFIG_AUTOBOOT_DELAY_STR
16 #define DEBUG_BOOTKEYS                          0
17 #define CONFIG_BAUDRATE                         115200
18 #define CFG_BAUDRATE_TABLE                      { 600,    1200,   2400,    4800,    9600,    14400,  \
19                                                                           19200,  28800,  38400,   56000,   57600,   115200, \
20                                                                           128000, 153600, 230400,  250000,  256000,  460800, \
21                                                                           576000, 921600, 1000000, 1152000, 1500000, 2000000 }
22
23 /*
24  * Miscellaneous configurable options
25  */
26 #define CFG_ALT_MEMTEST
27 #define CFG_HUSH_PARSER
28 #define CFG_LONGHELP                                                                                                            /* undef to save memory      */
29 #define CFG_PROMPT                      "uboot> "                                                                               /* Monitor Command Prompt    */
30 #define CFG_PROMPT_HUSH_PS2     "> "
31 #define CFG_CBSIZE                      1024                                                                                    /* Console I/O Buffer Size   */
32 #define CFG_PBSIZE                      (CFG_CBSIZE+sizeof(CFG_PROMPT)+16)                              /* Print Buffer Size, was: def + 16 */
33 #define CFG_MAXARGS                     16                                                                                              /* max number of command */
34 #define CFG_MALLOC_LEN          512*1024                                                                                /* def: 128*1024 */
35 #define CFG_BOOTPARAMS_LEN      512*1024                                                                                /* def: 128 */
36 #define CFG_SDRAM_BASE          0x80000000                                                                              /* Cached addr */
37 #define CFG_MEMTEST_START       (CFG_SDRAM_BASE + 0x200000)                                             /* RAM test start = CFG_SDRAM_BASE + 2 MB */
38 #define CFG_MEMTEST_END         (CFG_SDRAM_BASE + bd->bi_memsize - 0x200001)    /* RAM test end   = CFG_SDRAM_BASE + RAM size - 2 MB - 1 Byte */
39 #define CFG_RX_ETH_BUFFER   16
40
41 #if defined(CONFIG_SILENT_CONSOLE)
42         #define SILENT_ENV_VARIABLE     "silent=1\0"
43 #else
44         #define SILENT_ENV_VARIABLE     ""
45 #endif
46
47 /*-----------------------------------------------------------------------
48  * Cache Configuration
49  */
50 #define CFG_DCACHE_SIZE                         32768
51 #define CFG_ICACHE_SIZE                         65536
52 #define CFG_CACHELINE_SIZE                      32
53
54 #endif  /* __CONFIG_H */