]>
Commit | Line | Data |
---|---|---|
b9ca4ab4 LV |
1 | /* |
2 | * Configuration header file for TI's k2g-evm | |
3 | * | |
4 | * (C) Copyright 2015 | |
5 | * Texas Instruments Incorporated, <www.ti.com> | |
6 | * | |
7 | * SPDX-License-Identifier: GPL-2.0+ | |
8 | */ | |
9 | ||
10 | #ifndef __CONFIG_K2G_EVM_H | |
11 | #define __CONFIG_K2G_EVM_H | |
12 | ||
13 | /* Platform type */ | |
14 | #define CONFIG_SOC_K2G | |
15 | #define CONFIG_K2G_EVM | |
16 | ||
17 | /* U-Boot general configuration */ | |
18 | #define CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS \ | |
19 | DEFAULT_MMC_TI_ARGS \ | |
20 | "console=ttyS0,115200n8\0" \ | |
21 | "bootpart=0:2\0" \ | |
22 | "bootdir=/boot\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"\ | |
35 | ||
36 | #include <configs/ti_armv7_keystone2.h> | |
37 | ||
38 | /* SPL SPI Loader Configuration */ | |
39 | #define CONFIG_SPL_TEXT_BASE 0x0c080000 | |
40 | ||
41 | /* NAND Configuration */ | |
42 | #define CONFIG_SYS_NAND_PAGE_2K | |
43 | ||
44 | /* Network */ | |
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 | |
49 | ||
50 | /* MMC/SD */ | |
51 | #define CONFIG_MMC | |
52 | #define CONFIG_GENERIC_MMC | |
53 | #define CONFIG_OMAP_HSMMC | |
54 | #define CONFIG_CMD_MMC | |
55 | ||
56 | #define CONFIG_SF_DEFAULT_BUS 1 | |
57 | #define CONFIG_SF_DEFAULT_CS 0 | |
58 | ||
59 | #endif /* __CONFIG_K2G_EVM_H */ |