]>
git.ipfire.org Git - people/ms/u-boot.git/blob - include/configs/lpd7a404.h
2 * See file CREDITS for list of people who contributed to this
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
24 #define CONFIG_LPD7A404 /* Logic LH7A400 SDK */
29 * This board uses the logic LH7A404-10 card engine
31 #include <configs/lpd7a404-10.h>
33 #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */
34 #define CONFIG_SETUP_MEMORY_TAGS 1
35 #define CONFIG_INITRD_TAG 1
38 * Size of malloc() pool
40 #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + 128*1024)
41 #define CONFIG_SYS_GBL_DATA_SIZE 128 /* size in bytes reserved for initial data */
44 * select serial console configuration
46 #define CONFIG_CONSOLE_UART2 /* UART2 LH7A40x for console */
48 /* allow to overwrite serial and ethaddr */
49 #define CONFIG_ENV_OVERWRITE
51 #define CONFIG_BAUDRATE 115200
52 #define CONFIG_IPADDR 192.168.1.100
53 #define CONFIG_NETMASK 255.255.1.0
54 #define CONFIG_SERVERIP 192.168.1.1
56 #define CONFIG_TIMESTAMP 1 /* Print timestamp info for images */
62 #define CONFIG_BOOTP_BOOTFILESIZE
63 #define CONFIG_BOOTP_BOOTPATH
64 #define CONFIG_BOOTP_GATEWAY
65 #define CONFIG_BOOTP_HOSTNAME
69 * Command line configuration.
71 #include <config_cmd_default.h>
74 #define CONFIG_CMD_PING)
75 #undef CONFIG_CMD_CACHE
77 #define CONFIG_CMD_DATE
81 #define CONFIG_BOOTDELAY 3
83 #if defined(CONFIG_CMD_KGDB)
84 #define CONFIG_KGDB_BAUDRATE 115200 /* speed to run kgdb serial port */
85 /* what's this ? it's not used anywhere */
86 #define CONFIG_KGDB_SER_INDEX 1 /* which serial port to use */
90 * Miscellaneous configurable options
92 #define CONFIG_SYS_LONGHELP /* undef to save memory */
93 #define CONFIG_SYS_PROMPT "LPD7A404> " /* Monitor Command Prompt */
94 #define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */
95 #define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE+sizeof(CONFIG_SYS_PROMPT)+16) /* Print Buffer Size */
96 #define CONFIG_SYS_MAXARGS 16 /* max number of command args */
97 #define CONFIG_SYS_BARGSIZE CONFIG_SYS_CBSIZE /* Boot Argument Buffer Size */
99 #define CONFIG_SYS_MEMTEST_START 0xc0300000 /* memtest works on */
100 #define CONFIG_SYS_MEMTEST_END 0xc0500000 /* 2 MB in DRAM */
102 #undef CONFIG_SYS_CLKS_IN_HZ /* everything, incl board info, in Hz */
104 #define CONFIG_SYS_LOAD_ADDR 0xc0f00000 /* default load address */
106 /* valid baudrates */
107 #define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 }
109 /* size and location of u-boot in flash */
110 #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE
111 #define CONFIG_SYS_MONITOR_LEN (256<<10)
113 #define CONFIG_ENV_IS_IN_FLASH 1
115 /* Address and size of Primary Environment Sector */
116 #define CONFIG_ENV_ADDR (CONFIG_SYS_FLASH_BASE + 0xFC0000)
117 #define CONFIG_ENV_SIZE 0x40000
119 #endif /* __LPD7A404_H_ */