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:
e4fb863
)
arm: socfpga: Enabling U-Boot environment support in QSPI
author
Chin Liang See
<
[email protected]
>
Wed, 24 Feb 2016 08:50:22 +0000
(16:50 +0800)
committer
Marek Vasut
<
[email protected]
>
Sun, 20 Mar 2016 17:01:10 +0000
(18:01 +0100)
Enabling the support of storing U-Boot environment
within serial NOR flash. By default, its still
store into SDMMC
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 cd48c9e1caf5da04b39d04165d05da561af77a33..7b5fe606fdb2db7362f52661b5e5d6347635a177 100644
(file)
--- a/
include/configs/socfpga_common.h
+++ b/
include/configs/socfpga_common.h
@@
-292,6
+292,12
@@
unsigned int cm_get_qspi_controller_clk_hz(void);
#define CONFIG_ENV_OFFSET 512 /* just after the MBR */
#endif
+/* Environment for QSPI boot */
+#if defined(CONFIG_ENV_IS_IN_SPI_FLASH) && !defined(CONFIG_ENV_OFFSET)
+#define CONFIG_ENV_OFFSET 0x00100000
+#define CONFIG_ENV_SECT_SIZE (64 * 1024)
+#endif
+
/*
* mtd partitioning for serial NOR flash
*