From: Marek Szyprowski Date: Tue, 17 Nov 2020 10:06:45 +0000 (+0100) Subject: tizen: amlogic: move trailing '\0' to the common place X-Git-Tag: submit/tizen/20201208.071016~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf8b29d18f443ca8a49cef233b80bc5fb5cc6d5f;p=platform%2Fkernel%2Fu-boot.git tizen: amlogic: move trailing '\0' to the common place To make the env setup a bit more error proof, move the required trailing '\0' character for the 'boot_prefixes' entry to the common place. Signed-off-by: Marek Szyprowski Change-Id: I535afa0a870b07a9d8637add8cccb8d55bcca5a0 --- diff --git a/include/samsung/tizen_amlogic.h b/include/samsung/tizen_amlogic.h index 64d7422047..0382ef994b 100644 --- a/include/samsung/tizen_amlogic.h +++ b/include/samsung/tizen_amlogic.h @@ -93,13 +93,13 @@ #endif #ifdef CONFIG_TIZEN_KHADAS_VIM3 -#define TIZEN_BOOT_PREFIX "/vim3/ /\0" +#define TIZEN_BOOT_PREFIX "/vim3/ /" #elif CONFIG_TIZEN_ODROID_N2 -#define TIZEN_BOOT_PREFIX "/odroid-n2/ /\0" +#define TIZEN_BOOT_PREFIX "/odroid-n2/ /" #elif CONFIG_TIZEN_ODROID_C4 -#define TIZEN_BOOT_PREFIX "/odroid-c4/ /\0" +#define TIZEN_BOOT_PREFIX "/odroid-c4/ /" #else -#define TIZEN_BOOT_PREFIX "/ /boot/\0" +#define TIZEN_BOOT_PREFIX "/ /boot/" #endif #define TIZEN_ENV_SETTING \ @@ -124,7 +124,7 @@ "opts=loglevel=4\0" \ "dfu_usb_con=0\0" \ "dfu_interface=mmc\0" \ - "boot_prefixes="TIZEN_BOOT_PREFIX \ + "boot_prefixes=" TIZEN_BOOT_PREFIX "\0" #define CONFIG_TIZEN