]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: mt8518: set global variables for fastboot
authormingming lee <mingming.lee@mediatek.com>
Thu, 16 Jan 2020 08:11:39 +0000 (16:11 +0800)
committerTom Rini <trini@konsulko.com>
Sat, 25 Jan 2020 17:04:36 +0000 (12:04 -0500)
set common fastboot variables for mt8518

Signed-off-by: mingming lee <mingming.lee@mediatek.com>
include/configs/mt8518.h

index 514722be99006cfa81745716e424b78dca3af7b4..276fbc285f81b96888c424a47b19ee24c3257579 100644 (file)
@@ -11,7 +11,6 @@
 
 #include <linux/sizes.h>
 
-/* Machine ID */
 #define CONFIG_SYS_NONCACHED_MEMORY            SZ_1M
 
 #define CONFIG_CPU_ARMV8
 #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" \