Patchwork [U-Boot,2/3] omap5_evm.h: Move uEVM-specific choices to omap5_evm.h

login
register
mail settings
Submitter Tom Rini
Date April 8, 2013, 4:34 p.m.
Message ID <20130408163437.GA1509@bill-the-cat>
Download mbox | patch
Permalink /patch/234837/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - April 8, 2013, 4:34 p.m.
On Fri, Apr 05, 2013 at 12:21:45PM -0400, Tom Rini wrote:

> The omap5_uevm platform has eMMC, and it makes sense to say that our
> default env storage shall reside there.  Other platforms may not, so
> move this choice to the EVM config.  In addition, we should provide some
> way to partition the flash for later usage, so take advantage of the GPT
> partition table support code and allow that to be setup with some
> reasonable defaults.
> 
> Cc: Sricharan R <r.sricharan@ti.com>
> Signed-off-by: Tom Rini <trini@ti.com>

With the following change (in addition to _evm.h -> _uevm.h):


Applied to u-boot-ti/master.  And the "for now" comment is about waiting
until the platform is in some peoples hands and we can better evaluate
defaults and so forth for it.

Patch

diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index 10a4939..28a306b 100644
--- a/include/configs/dra7xx_evm.h
+++ b/include/configs/dra7xx_evm.h
@@ -28,6 +28,8 @@ 
 #ifndef __CONFIG_DRA7XX_EVM_H
 #define __CONFIG_DRA7XX_EVM_H
 
+#define CONFIG_ENV_IS_NOWHERE		/* For now. */
+
 #include <configs/omap5_common.h>
 
 #define CONFIG_DRA7XX		/* in a TI DRA7XX core */