summaryrefslogtreecommitdiff
path: root/include/configs/mt8518.h
diff options
context:
space:
mode:
authormingming lee <mingming.lee@mediatek.com>2020-01-16 11:11:39 +0300
committerTom Rini <trini@konsulko.com>2020-01-25 20:04:36 +0300
commitdafd97ff70eaf191285fb1e4580c84b6e63c1e2b (patch)
treebaf787fb57390081fd03778a9acd33887d7757b0 /include/configs/mt8518.h
parente65016150e2b66dfee0521cb3b2d477694b341ef (diff)
downloadu-boot-dafd97ff70eaf191285fb1e4580c84b6e63c1e2b.tar.xz
configs: mt8518: set global variables for fastboot
set common fastboot variables for mt8518 Signed-off-by: mingming lee <mingming.lee@mediatek.com>
Diffstat (limited to 'include/configs/mt8518.h')
-rw-r--r--include/configs/mt8518.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/configs/mt8518.h b/include/configs/mt8518.h
index 514722be99..276fbc285f 100644
--- a/include/configs/mt8518.h
+++ b/include/configs/mt8518.h
@@ -11,7 +11,6 @@
#include <linux/sizes.h>
-/* Machine ID */
#define CONFIG_SYS_NONCACHED_MEMORY SZ_1M
#define CONFIG_CPU_ARMV8
@@ -54,10 +53,15 @@
#define ENV_BOOT_CMD \
"mtk_boot=run boot_rd_img;bootm;\0"
+#define ENV_FASTBOOT \
+ "serial#=1234567890ABCDEF\0" \
+ "board=mt8518\0"
+
#define CONFIG_EXTRA_ENV_SETTINGS \
"fdt_high=0x6c000000\0" \
ENV_DEVICE_SETTINGS \
ENV_BOOT_READ_IMAGE \
+ ENV_FASTBOOT \
ENV_BOOT_CMD \
"bootcmd=run mtk_boot;\0" \