summaryrefslogtreecommitdiff
path: root/include/configs/rk3399_common.h
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2020-04-10 23:56:31 +0530
committerJagan Teki <jagan@amarulasolutions.com>2020-04-30 22:33:31 +0530
commitf263b860acf82de85e4d61ac67b1e4f62efcf1cc (patch)
treedd2c5914b57687521dd4554d3c7cae5e7fcab22e /include/configs/rk3399_common.h
parentd2c19b740c48c662fe23d02ac8d6514895d8c205 (diff)
rk3399: Enable SF distro bootcmd
Enable SPI flash(SF) distro boot command in rk3399. This distro boot will read the boot script at specific location at the flash and start sourcing the same. Included the SF device at the last of the target devices list since all the rest of the devices on the list have more possibility to boot the distribution due to the size of the SPI flash is concern. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'include/configs/rk3399_common.h')
-rw-r--r--include/configs/rk3399_common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/rk3399_common.h b/include/configs/rk3399_common.h
index 01a9174bd2..f0ae6e67a7 100644
--- a/include/configs/rk3399_common.h
+++ b/include/configs/rk3399_common.h
@@ -60,6 +60,7 @@
#endif
#include <config_distro_bootcmd.h>
+#include <environment/distro/sf.h>
#define CONFIG_EXTRA_ENV_SETTINGS \
ENV_MEM_LAYOUT_SETTINGS \
"fdtfile=" CONFIG_DEFAULT_FDT_FILE "\0" \