]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
configs: meson64_android: add board specific env settings
authorMattijs Korpershoek <mkorpershoek@baylibre.com>
Mon, 22 Nov 2021 15:22:04 +0000 (16:22 +0100)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 7 Jan 2022 09:12:43 +0000 (10:12 +0100)
This allows us to define extra board variables, such as "board" and
"board_name".

Signed-off-by: Guillaume La Roque <glaroque@baylibre.com>
Signed-off-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20211122152207.219023-2-mkorpershoek@baylibre.com
include/configs/meson64_android.h

index 7cd1ab034118ce9f8017cbf96fdcc2d8beb62362..56dc9fcb07cc18980cc88884a2861c68eae41e03 100644 (file)
 #define CONTROL_PARTITION "misc"
 #endif
 
+#ifndef EXTRA_ANDROID_ENV_SETTINGS
+#define EXTRA_ANDROID_ENV_SETTINGS ""
+#endif
+
 #if defined(CONFIG_CMD_AVB)
 #define AVB_VERIFY_CHECK \
        "if test \"${force_avb}\" -eq 1; then " \
        "fi;"
 
 #define CONFIG_EXTRA_ENV_SETTINGS                                     \
+       EXTRA_ANDROID_ENV_SETTINGS                                    \
        "partitions=" PARTS_DEFAULT "\0"                              \
        "mmcdev=2\0"                                                  \
        ANDROIDBOOT_GET_CURRENT_SLOT_CMD                              \