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:
a84134f
)
x86: crownbay: Enable saving environment in SPI flash
author
Bin Meng
<
[email protected]
>
Wed, 11 Mar 2015 09:22:28 +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 CrownBay board.
Signed-off-by: Bin Meng <
[email protected]
>
Acked-by: Simon Glass <
[email protected]
>
include/configs/crownbay.h
patch
|
blob
|
history
diff --git
a/include/configs/crownbay.h
b/include/configs/crownbay.h
index b1cfc8b0652cfae1ef8689ba2dbfe512ede0acc0..df32f2ac528df1b2e455c42182f080ee2fc4f18d 100644
(file)
--- a/
include/configs/crownbay.h
+++ b/
include/configs/crownbay.h
@@
-60,4
+60,12
@@
#undef CONFIG_VIDEO
#undef CONFIG_CFB_CONSOLE
+/* 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 */