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:
fba02d6
)
x86: galileo: Enable saving environment in SPI flash
author
Bin Meng
<
[email protected]
>
Wed, 11 Mar 2015 09:22:29 +0000
(17:22 +0800)
committer
Simon Glass
<
[email protected]
>
Wed, 25 Mar 2015 03:22:38 +0000
(21:22 -0600)
Saving U-Boot's environment in SPI flash on Intel Galileo board.
Signed-off-by: Bin Meng <
[email protected]
>
Acked-by: Simon Glass <
[email protected]
>
include/configs/galileo.h
patch
|
blob
|
history
diff --git
a/include/configs/galileo.h
b/include/configs/galileo.h
index 65a2c3e0162e6573cec3f4f2557ebab921e731d9..288acf30f1b8333c4407be99bfbc9625d174134a 100644
(file)
--- a/
include/configs/galileo.h
+++ b/
include/configs/galileo.h
@@
-62,4
+62,12
@@
#define CONFIG_DW_ALTDESCRIPTOR
#define CONFIG_PHYLIB
+/* Environment configuration */
+#undef CONFIG_ENV_IS_NOWHERE
+#undef CONFIG_ENV_SIZE
+#define CONFIG_ENV_IS_IN_SPI_FLASH
+#define CONFIG_ENV_SIZE 0x1000
+#define CONFIG_ENV_SECT_SIZE 0x1000
+#define CONFIG_ENV_OFFSET 0
+
#endif /* __CONFIG_H */