1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * (C) Copyright 2006-2008
5 * Richard Woodruff <r-woodruff2@ti.com>
6 * Syed Mohammed Khasim <x0khasim@ti.com>
9 * Frederik Kriewitz <frederik@kriewitz.eu>
11 * Configuration settings for the DevKit8000 board.
17 #include <configs/ti_omap3_common.h>
19 /* Hardware drivers */
21 #define CONFIG_DM9000_BASE 0x2c000000
22 #define DM9000_IO CONFIG_DM9000_BASE
23 #define DM9000_DATA (CONFIG_DM9000_BASE + 0x400)
24 #define CONFIG_DM9000_USE_16BIT 1
25 #define CONFIG_DM9000_NO_SROM 1
26 #undef CONFIG_DM9000_DEBUG
30 /* BOOTP/DHCP options */
32 #define MEM_LAYOUT_ENV_SETTINGS \
33 DEFAULT_LINUX_BOOT_ENV
35 /* Environment information */
36 #define CONFIG_EXTRA_ENV_SETTINGS \
37 MEM_LAYOUT_ENV_SETTINGS \
38 "console=ttyO2,115200n8\0" \
41 "dvimode=1024x768MR-16@60\0" \
42 "defaultdisplay=dvi\0" \
43 "nfsopts=hard,tcp,rsize=65536,wsize=65536\0" \
46 "setenv bootargs console=${console} " \
48 "omapfb.mode=dvi:${dvimode} " \
49 "omapdss.def_disp=${defaultdisplay}\0" \
52 "setenv bootargs ${bootargs} " \
53 "root=/dev/mmcblk0p2 " \
58 "setenv bootargs ${bootargs} " \
59 "omapfb.mode=dvi:${dvimode} " \
60 "omapdss.def_disp=${defaultdisplay} " \
61 "root=/dev/mtdblock4 " \
66 "setenv bootargs ${bootargs} " \
68 "nfsroot=${serverip}:${rootpath},${nfsopts} " \
69 "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off " \
72 "dnsip2=${dnsip2}\0" \
73 "loadbootscript=fatload mmc ${mmcdev} ${loadaddr} boot.scr\0" \
74 "bootscript=echo Running bootscript from mmc ...; " \
75 "source ${loadaddr}\0" \
76 "loaduimage=fatload mmc ${mmcdev} ${loadaddr} uImage\0" \
77 "eraseenv=nand unlock 0x260000 0x20000; nand erase 0x260000 0x20000\0" \
78 "mmcboot=echo Booting from mmc ...; " \
80 "bootm ${loadaddr}\0" \
81 "nandboot=echo Booting from nand ...; " \
83 "nand read ${loadaddr} 280000 400000; " \
84 "bootm ${loadaddr}\0" \
85 "netboot=echo Booting from network ...; " \
86 "dhcp ${loadaddr}; " \
88 "bootm ${loadaddr}\0" \
89 "autoboot=mmc dev ${mmcdev}; if mmc rescan; then " \
90 "if run loadbootscript; then " \
93 "if run loaduimage; then " \
95 "else run nandboot; " \
98 "else run nandboot; fi\0"
100 /* Defines for SPL */
102 /* NAND boot config */
103 #define CONFIG_SYS_NAND_ECCPOS {2, 3, 4, 5, 6, 7, 8, 9,\
106 #define CONFIG_SYS_NAND_ECCSIZE 512
107 #define CONFIG_SYS_NAND_ECCBYTES 3
109 #define CONFIG_SYS_NAND_U_BOOT_SIZE 0x200000
111 #endif /* __CONFIG_H */