blob: 550cabd77cd0b04bd2aad2a559f8394095a67cc9 [file] [log] [blame]
Sricharana9c1c042011-11-15 09:50:06 -05001/*
Lokesh Vutla3ef5ebe2013-02-17 23:34:35 +00002 * (C) Copyright 2013
Sricharana9c1c042011-11-15 09:50:06 -05003 * Texas Instruments Incorporated.
4 * Sricharan R <r.sricharan@ti.com>
5 *
Sricharana9c1c042011-11-15 09:50:06 -05006 * Configuration settings for the TI EVM5430 board.
Lokesh Vutla3ef5ebe2013-02-17 23:34:35 +00007 * See omap5_common.h for omap5 common settings.
Sricharana9c1c042011-11-15 09:50:06 -05008 *
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
Lokesh Vutla3ef5ebe2013-02-17 23:34:35 +000028#ifndef __CONFIG_OMAP5_EVM_H
29#define __CONFIG_OMAP5_EVM_H
Sricharana9c1c042011-11-15 09:50:06 -050030
Tom Rini9552ee32013-04-05 06:21:45 +000031/* Define the default GPT table for eMMC */
32#define PARTS_DEFAULT \
33 "uuid_disk=${uuid_gpt_disk};" \
Tom Rinia5196022013-04-10 15:10:10 -040034 "name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}"
Tom Rini9552ee32013-04-05 06:21:45 +000035
Lokesh Vutla3ef5ebe2013-02-17 23:34:35 +000036#include <configs/omap5_common.h>
Sricharana9c1c042011-11-15 09:50:06 -050037
SRICHARAN R21144292012-03-12 02:25:48 +000038/* TWL6035 */
39#ifndef CONFIG_SPL_BUILD
40#define CONFIG_TWL6035_POWER
41#endif
42
Tom Rini9552ee32013-04-05 06:21:45 +000043/* 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
Tom Rini63216de2013-04-30 16:04:17 -040047#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
48#define CONFIG_SYS_REDUNDAND_ENVIRONMENT
Tom Rini9552ee32013-04-05 06:21:45 +000049#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
Sricharana9c1c042011-11-15 09:50:06 -050057#define CONFIG_SYS_PROMPT "OMAP5430 EVM # "
Sricharana9c1c042011-11-15 09:50:06 -050058
Lokesh Vutla3ef5ebe2013-02-17 23:34:35 +000059#endif /* __CONFIG_OMAP5_EVM_H */