blob: ebf46303cbfae842b61e45eaba50d94df38c2dec [file] [log] [blame]
Vitaly Andrianov7bcf4d62014-04-04 13:16:53 -04001/*
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 Zhangeb01de22014-07-09 23:44:48 +030017/* U-Boot general configuration */
18#define CONFIG_SYS_PROMPT "K2HK EVM # "
Vitaly Andrianov7bcf4d62014-04-04 13:16:53 -040019
Hao Zhangeb01de22014-07-09 23:44:48 +030020#define KS2_ARGS_UBI "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "\
21 "root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048\0"
Vitaly Andrianov7bcf4d62014-04-04 13:16:53 -040022
Hao Zhangeb01de22014-07-09 23:44:48 +030023#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"
Vitaly Andrianov7bcf4d62014-04-04 13:16:53 -040028
Hao Zhangeb01de22014-07-09 23:44:48 +030029#include <configs/ks2_evm.h>
Karicheri, Muralidharan657f6b52014-04-01 15:01:13 -040030
Hao Zhangeb01de22014-07-09 23:44:48 +030031/* SPL SPI Loader Configuration */
32#define CONFIG_SPL_TEXT_BASE 0x0c200000
Khoronzhuk, Ivan8062b052014-06-07 05:10:49 +030033
Vitaly Andrianov7bcf4d62014-04-04 13:16:53 -040034/* NAND Configuration */
Vitaly Andrianov7bcf4d62014-04-04 13:16:53 -040035#define CONFIG_SYS_NAND_PAGE_2K
Vitaly Andrianov7bcf4d62014-04-04 13:16:53 -040036
Hao Zhangeb01de22014-07-09 23:44:48 +030037/* Network */
Khoronzhuk, Ivanf2c13ba2014-09-29 22:17:22 +030038#define CONFIG_KSNET_NETCP_V1_0
Khoronzhuk, Ivan915cff42014-09-29 22:17:21 +030039#define CONFIG_KSNET_CPSW_NUM_PORTS 5
Vitaly Andrianov7bcf4d62014-04-04 13:16:53 -040040
Vitaly Andrianov7bcf4d62014-04-04 13:16:53 -040041#endif /* __CONFIG_K2HK_EVM_H */