xref: /openbmc/u-boot/include/configs/omap5_uevm.h (revision 9e336903)
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 /* TWL6035 */
39 #ifndef CONFIG_SPL_BUILD
40 #define CONFIG_PALMAS_POWER
41 #endif
42 
43 /* MMC ENV related defines */
44 #define CONFIG_ENV_IS_IN_MMC
45 #define CONFIG_SYS_MMC_ENV_DEV		1	/* SLOT2: eMMC(1) */
46 #define CONFIG_ENV_OFFSET		0xE0000
47 #define CONFIG_ENV_OFFSET_REDUND	(CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
48 #define CONFIG_SYS_REDUNDAND_ENVIRONMENT
49 #define CONFIG_CMD_SAVEENV
50 
51 /* Enhance our eMMC support / experience. */
52 #define CONFIG_CMD_GPT
53 #define CONFIG_EFI_PARTITION
54 #define CONFIG_PARTITION_UUIDS
55 #define CONFIG_CMD_PART
56 
57 #define CONFIG_SYS_PROMPT		"OMAP5430 EVM # "
58 
59 #define CONFIG_OMAP_PLATFORM_RESET_TIME_MAX_USEC	16296
60 #endif /* __CONFIG_OMAP5_EVM_H */
61