Vitaly Andrianov | ef509b9 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Configuration header file for TI's k2hk-evm |
| 3 | * |
| 4 | * (C) Copyright 2012-2014 |
| 5 | * Texas Instruments Incorporated, <www.ti.com> |
| 6 | * |
| 7 | * SPDX-License-Identifier: GPL-2.0+ |
| 8 | */ |
| 9 | |
| 10 | #ifndef __CONFIG_K2HK_EVM_H |
| 11 | #define __CONFIG_K2HK_EVM_H |
| 12 | |
| 13 | /* Platform type */ |
| 14 | #define CONFIG_SOC_K2HK |
| 15 | #define CONFIG_K2HK_EVM |
| 16 | |
Hao Zhang | 2221cd1 | 2014-07-09 23:44:48 +0300 | [diff] [blame] | 17 | /* U-Boot general configuration */ |
| 18 | #define CONFIG_SYS_PROMPT "K2HK EVM # " |
Vitaly Andrianov | ef509b9 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 19 | |
Hao Zhang | 2221cd1 | 2014-07-09 23:44:48 +0300 | [diff] [blame] | 20 | #define KS2_ARGS_UBI "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "\ |
| 21 | "root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048\0" |
Vitaly Andrianov | ef509b9 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 22 | |
Hao Zhang | 2221cd1 | 2014-07-09 23:44:48 +0300 | [diff] [blame] | 23 | #define KS2_FDT_NAME "name_fdt=k2hk-evm.dtb\0" |
| 24 | #define KS2_ADDR_MON "addr_mon=0x0c5f0000\0" |
| 25 | #define KS2_NAME_MON "name_mon=skern-k2hk-evm.bin\0" |
| 26 | #define NAME_UBOOT "name_uboot=u-boot-spi-k2hk-evm.gph\0" |
| 27 | #define NAME_UBI "name_ubi=k2hk-evm-ubifs.ubi\0" |
| 28 | |
| 29 | #include <configs/ks2_evm.h> |
Vitaly Andrianov | ef509b9 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 30 | |
| 31 | /* SPL SPI Loader Configuration */ |
Hao Zhang | 2221cd1 | 2014-07-09 23:44:48 +0300 | [diff] [blame] | 32 | #define CONFIG_SPL_TEXT_BASE 0x0c200000 |
Khoronzhuk, Ivan | 909ea9a | 2014-06-07 05:10:49 +0300 | [diff] [blame] | 33 | |
Vitaly Andrianov | ef509b9 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 34 | /* NAND Configuration */ |
Vitaly Andrianov | ef509b9 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 35 | #define CONFIG_SYS_NAND_PAGE_2K |
| 36 | |
Hao Zhang | 2221cd1 | 2014-07-09 23:44:48 +0300 | [diff] [blame] | 37 | /* Network */ |
| 38 | #define CONFIG_DRIVER_TI_KEYSTONE_NET |
Vitaly Andrianov | ef509b9 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 39 | |
| 40 | #endif /* __CONFIG_K2HK_EVM_H */ |