summaryrefslogtreecommitdiff
path: root/env/sf.c
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@st.com>2020-07-28 11:51:16 +0200
committerTom Rini <trini@konsulko.com>2020-07-31 10:13:00 -0400
commit22140d16e56cec3c2ea17a0abaf3d061ccbee039 (patch)
tree55ec621f63d536acdf1d4e46b2bc76d86ee4b63a /env/sf.c
parent286fee5062ed31bd0373d3fc43ebe22d85bca4ae (diff)
downloadu-boot-22140d16e56cec3c2ea17a0abaf3d061ccbee039.tar.gz
u-boot-22140d16e56cec3c2ea17a0abaf3d061ccbee039.tar.bz2
u-boot-22140d16e56cec3c2ea17a0abaf3d061ccbee039.zip
env: sf: avoid space in backend name
Remove space in ENV backend name for SPI Flash (SF) to avoid issue with env select command. Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'env/sf.c')
-rw-r--r--env/sf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/env/sf.c b/env/sf.c
index 3e524f2947..a059561cb0 100644
--- a/env/sf.c
+++ b/env/sf.c
@@ -305,7 +305,7 @@ static int env_sf_init(void)
U_BOOT_ENV_LOCATION(sf) = {
.location = ENVL_SPI_FLASH,
- ENV_NAME("SPI Flash")
+ ENV_NAME("SPIFlash")
.load = env_sf_load,
.save = CONFIG_IS_ENABLED(SAVEENV) ? ENV_SAVE_PTR(env_sf_save) : NULL,
#if defined(INITENV) && (CONFIG_ENV_ADDR != 0x0)