2 * Configuration header file for TI's k2g-evm
5 * Texas Instruments Incorporated, <www.ti.com>
7 * SPDX-License-Identifier: GPL-2.0+
10 #ifndef __CONFIG_K2G_EVM_H
11 #define __CONFIG_K2G_EVM_H
14 #define CONFIG_SOC_K2G
15 #define CONFIG_K2G_EVM
17 /* U-Boot general configuration */
18 #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS \
20 "console=ttyS0,115200n8\0" \
23 "addr_mon=0x0c040000\0" \
24 "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs " \
25 "root=ubi0:rootfs rootflags=sync rw ubi.mtd=ubifs,2048\0" \
26 "name_fdt=k2g-evm.dtb\0" \
27 "name_mon=skern-k2g.bin\0" \
28 "name_ubi=k2g-evm-ubifs.ubi\0" \
29 "name_uboot=u-boot-spi-k2g-evm.gph\0" \
30 "init_mmc=run args_all args_mmc\0" \
31 "get_fdt_mmc=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${name_fdt}\0"\
32 "get_kern_mmc=load mmc ${bootpart} ${loadaddr} " \
33 "${bootdir}/${name_kern}\0" \
34 "get_mon_mmc=load mmc ${bootpart} ${addr_mon} ${bootdir}/${name_mon}\0"\
36 #include <configs/ti_armv7_keystone2.h>
38 /* SPL SPI Loader Configuration */
39 #define CONFIG_SPL_TEXT_BASE 0x0c080000
41 /* NAND Configuration */
42 #define CONFIG_SYS_NAND_PAGE_2K
45 #define CONFIG_KSNET_NETCP_V1_5
46 #define CONFIG_KSNET_CPSW_NUM_PORTS 2
47 #define CONFIG_KSNET_MDIO_PHY_CONFIG_ENABLE
48 #define CONFIG_PHY_MICREL
52 #define CONFIG_GENERIC_MMC
53 #define CONFIG_OMAP_HSMMC
54 #define CONFIG_CMD_MMC
56 #define CONFIG_SF_DEFAULT_BUS 1
57 #define CONFIG_SF_DEFAULT_CS 0
59 #endif /* __CONFIG_K2G_EVM_H */