projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95052b4
)
rk3399: Check MMC env while defining it
author
Jagan Teki
<jagan@amarulasolutions.com>
Sat, 21 Dec 2019 07:54:34 +0000
(13:24 +0530)
committer
Kever Yang
<kever.yang@rock-chips.com>
Thu, 30 Jan 2020 03:44:01 +0000
(11:44 +0800)
rk3399 do support SPI flash as well, so there is
a possibility of using flash environment for those
usecases.
So define env device for MMC only when it is used
by specific configuration.
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
include/configs/evb_rk3399.h
patch
|
blob
|
history
diff --git
a/include/configs/evb_rk3399.h
b/include/configs/evb_rk3399.h
index b9c4d683f47877b3420517e80834adb3762d46dd..c0b03588938ad60d6dff234869fdf0930527d4ed 100644
(file)
--- a/
include/configs/evb_rk3399.h
+++ b/
include/configs/evb_rk3399.h
@@
-8,7
+8,9
@@
#include <configs/rk3399_common.h>
-#define CONFIG_SYS_MMC_ENV_DEV 0
+#if defined(CONFIG_ENV_IS_IN_MMC)
+# define CONFIG_SYS_MMC_ENV_DEV 0
+#endif
#define SDRAM_BANK_SIZE (2UL << 30)