Merge branch '2022-04-01-Kconfig-migrations-and-cleanups' into next
[platform/kernel/u-boot.git] / include / configs / meson64_android.h
index 56dc9fc..1266851 100644 (file)
        "elif test $board_name = sei610; then " \
                "echo \"  Reading DTB for sei610...\"; " \
                "setenv dtb_index 1;" \
+       "elif test $board_name = vim3l; then " \
+               "echo \"  Reading DTB for vim3l...\"; " \
+               "setenv dtb_index 2;" \
+       "elif test $board_name = vim3; then " \
+               "echo \"  Reading DTB for vim3...\"; " \
+               "setenv dtb_index 3;" \
        "else " \
                "echo Error: Android boot is not supported for $board_name; " \
                "exit; " \
        "elif test $board_name = sei610; then " \
                "echo \"  Reading DTBO for sei610...\"; " \
                "setenv dtbo_index 1;" \
+       "elif test $board_name = vim3l; then " \
+               "echo \"  Reading DTBO for vim3l...\"; " \
+               "setenv dtbo_index 2;" \
+       "elif test $board_name = vim3; then " \
+               "echo \"  Reading DTBO for vim3...\"; " \
+               "setenv dtbo_index 3;" \
        "else " \
                "echo Error: Android boot is not supported for $board_name; " \
                "exit; " \
        EXTRA_ANDROID_ENV_SETTINGS                                    \
        "partitions=" PARTS_DEFAULT "\0"                              \
        "mmcdev=2\0"                                                  \
+       "fastboot_raw_partition_bootloader=0x1 0xfff mmcpart 1\0"     \
+       "fastboot_raw_partition_bootenv=0x0 0xfff mmcpart 2\0"        \
        ANDROIDBOOT_GET_CURRENT_SLOT_CMD                              \
        AVB_VERIFY_CMD                                                \
        "force_avb=0\0"                                               \