summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2020-11-17 11:06:45 +0100
committerJaehoon Chung <jh80.chung@samsung.com>2023-10-17 13:19:25 +0900
commit73bbf4e03eba3a8d41448615ae32daa7b1c1dedb (patch)
tree2f1cf65fb611c283da6fcefdef9bb0512010d6a0 /include
parent703ef194a7f2af4afdc55a682532b4b3fa94e77c (diff)
downloadu-boot-73bbf4e03eba3a8d41448615ae32daa7b1c1dedb.tar.gz
u-boot-73bbf4e03eba3a8d41448615ae32daa7b1c1dedb.tar.bz2
u-boot-73bbf4e03eba3a8d41448615ae32daa7b1c1dedb.zip
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 <m.szyprowski@samsung.com> Change-Id: I535afa0a870b07a9d8637add8cccb8d55bcca5a0
Diffstat (limited to 'include')
-rw-r--r--include/samsung/tizen_amlogic.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/samsung/tizen_amlogic.h b/include/samsung/tizen_amlogic.h
index 46416bfdbb..6f325f19f4 100644
--- a/include/samsung/tizen_amlogic.h
+++ b/include/samsung/tizen_amlogic.h
@@ -86,13 +86,13 @@
#define DFU_ALT_BOOT_SD ""
#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 \
@@ -117,7 +117,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