From: Mattijs Korpershoek Date: Mon, 22 Nov 2021 15:22:04 +0000 (+0100) Subject: configs: meson64_android: add board specific env settings X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=4eff7426c9bf7b756546559f75f5ce03c73a28f2;p=u-boot.git configs: meson64_android: add board specific env settings This allows us to define extra board variables, such as "board" and "board_name". Signed-off-by: Guillaume La Roque Signed-off-by: Mattijs Korpershoek Signed-off-by: Neil Armstrong Link: https://lore.kernel.org/r/20211122152207.219023-2-mkorpershoek@baylibre.com --- diff --git a/include/configs/meson64_android.h b/include/configs/meson64_android.h index 7cd1ab0341..56dc9fcb07 100644 --- a/include/configs/meson64_android.h +++ b/include/configs/meson64_android.h @@ -23,6 +23,10 @@ #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 " \ @@ -264,6 +268,7 @@ "fi;" #define CONFIG_EXTRA_ENV_SETTINGS \ + EXTRA_ANDROID_ENV_SETTINGS \ "partitions=" PARTS_DEFAULT "\0" \ "mmcdev=2\0" \ ANDROIDBOOT_GET_CURRENT_SLOT_CMD \