projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b26109
)
arm: socfpga: Consolidate SDMMC environment
author
Chin Liang See
<
[email protected]
>
Mon, 21 Dec 2015 13:02:45 +0000
(21:02 +0800)
committer
Marek Vasut
<
[email protected]
>
Tue, 22 Dec 2015 03:42:27 +0000
(
04:42
+0100)
Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h
Signed-off-by: Chin Liang See <
[email protected]
>
Cc: Dinh Nguyen <
[email protected]
>
Cc: Dinh Nguyen <
[email protected]
>
Cc: Pavel Machek <
[email protected]
>
Cc: Marek Vasut <
[email protected]
>
Cc: Stefan Roese <
[email protected]
>
include/configs/socfpga_common.h
patch
|
blob
|
history
diff --git
a/include/configs/socfpga_common.h
b/include/configs/socfpga_common.h
index 1da2ecf1e11447c7028fabaecbc0204d951b37fd..275aa6de437ff022e8c34a5ca3c61f60b2ceeb57 100644
(file)
--- a/
include/configs/socfpga_common.h
+++ b/
include/configs/socfpga_common.h
@@
-270,6
+270,12
@@
unsigned int cm_get_qspi_controller_clk_hz(void);
#define CONFIG_SYS_CONSOLE_ENV_OVERWRITE
#define CONFIG_ENV_SIZE 4096
+/* Environment for SDMMC boot */
+#if defined(CONFIG_ENV_IS_IN_MMC) && !defined(CONFIG_ENV_OFFSET)
+#define CONFIG_SYS_MMC_ENV_DEV 0 /* device 0 */
+#define CONFIG_ENV_OFFSET 512 /* just after the MBR */
+#endif
+
/*
* SPL
*