1
2
3
4
5
6
7
8
9#ifndef __CONFIG_H
10#define __CONFIG_H
11
12
13
14
15#define CFG_SYS_SDRAM_BASE 0x00000000
16
17#define CFG_SYS_DDR_SDRAM_BASE CFG_SYS_SDRAM_BASE
18
19
20
21
22
23
24
25
26
27
28
29
30
31#define CFG_SYS_INIT_RAM_ADDR 0xE6000000
32#define CFG_SYS_INIT_RAM_SIZE 0x1000
33
34
35
36
37#define CFG_SYS_FLASH_BASE 0xFE000000
38#define CFG_SYS_FLASH_SIZE 8
39
40#define CFG_SYS_BAUDRATE_TABLE \
41 {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200}
42
43
44
45
46
47
48
49
50
51
52#define CFG_SYS_BOOTMAPSZ (256 << 20)
53
54
55
56
57
58#define CFG_EXTRA_ENV_SETTINGS \
59 "netdev=eth0\0" \
60 "consoledev=ttyS1\0" \
61 "u-boot=u-boot.bin\0" \
62 "kernel_addr=1000000\0" \
63 "fdt_addr=C00000\0" \
64 "fdtfile=hrcon.dtb\0" \
65 "load=tftp ${loadaddr} ${u-boot}\0" \
66 "update=protect off " __stringify(CONFIG_SYS_MONITOR_BASE) \
67 " +${filesize};era " __stringify(CONFIG_SYS_MONITOR_BASE)\
68 " +${filesize};cp.b ${fileaddr} " \
69 __stringify(CONFIG_SYS_MONITOR_BASE) " ${filesize}\0" \
70 "upd=run load update\0" \
71
72#endif
73