diff options
author | Jakob Riepler <jakob.riepler@aviloo.com> | 2020-07-27 14:18:29 +0200 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@st.com> | 2020-07-28 17:36:27 +0200 |
commit | 1e3d0605018fd8ab6e3b00550e7e7c797d2f0cfc (patch) | |
tree | 1eadf77aab702da65d7cb09efb7fb244b962f60d /board/dhelectronics | |
parent | 89ddbbb742fb165c03da13357e3e7ea43253f00a (diff) |
board: dh_stm32mp1: remove env location override
Overriding the environment location is not necessary as the defconfig
for the relevant boards only enable SPI flash and nowhere sources which
are in the same order per default but having this explicit override
prevents using eMMC or SD card (or EXT4) as environment source.
Signed-off-by: Jakob Riepler <jakob.riepler@aviloo.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'board/dhelectronics')
-rw-r--r-- | board/dhelectronics/dh_stm32mp1/board.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/board/dhelectronics/dh_stm32mp1/board.c b/board/dhelectronics/dh_stm32mp1/board.c index ae8d581d1c..17dbf20d76 100644 --- a/board/dhelectronics/dh_stm32mp1/board.c +++ b/board/dhelectronics/dh_stm32mp1/board.c @@ -653,18 +653,6 @@ int board_interface_eth_init(struct udevice *dev, return 0; } -enum env_location env_get_location(enum env_operation op, int prio) -{ - if (prio) - return ENVL_UNKNOWN; - -#ifdef CONFIG_ENV_IS_IN_SPI_FLASH - return ENVL_SPI_FLASH; -#else - return ENVL_NOWHERE; -#endif -} - #if defined(CONFIG_OF_BOARD_SETUP) int ft_board_setup(void *blob, struct bd_info *bd) { |