xref: /openbmc/u-boot/include/configs/omap5_uevm.h (revision 198a40b9)
1 /*
2  * (C) Copyright 2013
3  * Texas Instruments Incorporated.
4  * Sricharan R	  <r.sricharan@ti.com>
5  *
6  * Configuration settings for the TI EVM5430 board.
7  * See omap5_common.h for omap5 common settings.
8  *
9  * See file CREDITS for list of people who contributed to this
10  * project.
11  *
12  * This program is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU General Public License as
14  * published by the Free Software Foundation; either version 2 of
15  * the License, or (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with this program; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
25  * MA 02111-1307 USA
26  */
27 
28 #ifndef __CONFIG_OMAP5_EVM_H
29 #define __CONFIG_OMAP5_EVM_H
30 
31 /* Define the default GPT table for eMMC */
32 #define PARTS_DEFAULT \
33 	"uuid_disk=${uuid_gpt_disk};" \
34 	"name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}"
35 
36 #include <configs/omap5_common.h>
37 
38 #define CONFIG_CONS_INDEX		3
39 #define CONFIG_SYS_NS16550_COM3		UART3_BASE
40 #define CONFIG_BAUDRATE			115200
41 
42 /* MMC ENV related defines */
43 #define CONFIG_ENV_IS_IN_MMC
44 #define CONFIG_SYS_MMC_ENV_DEV		1	/* SLOT2: eMMC(1) */
45 #define CONFIG_ENV_OFFSET		0xE0000
46 #define CONFIG_ENV_OFFSET_REDUND	(CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
47 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
48 #define CONFIG_CMD_SAVEENV
49 
50 /* Enhance our eMMC support / experience. */
51 #define CONFIG_CMD_GPT
52 #define CONFIG_EFI_PARTITION
53 #define CONFIG_PARTITION_UUIDS
54 #define CONFIG_CMD_PART
55 
56 #define CONFIG_SYS_PROMPT		"OMAP5432 uEVM # "
57 
58 #define CONSOLEDEV		"ttyO2"
59 
60 #define CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC	16296
61 #endif /* __CONFIG_OMAP5_EVM_H */
62