tizen: amlogic: fix separators in env entries setup
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 17 Nov 2020 10:09:00 +0000 (11:09 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Nov 2021 10:37:12 +0000 (11:37 +0100)
The proper separator for environment entries is '\0' not '\n'.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I409ee8d10ffbfd7f235cbf9ced5547b2d8dd7a06

include/samsung/tizen_amlogic.h

index 36b3037..64d7422 100644 (file)
        "tfm=setenv bootmode download; run bootcmd\0"   \
        "dfu_alt_system="DFU_ALT_SYSTEM                 \
        "dfu_alt_system_sd="DFU_ALT_SYSTEM_SD                   \
-       "fdt_high=0x20000000\n"                 \
-       "initrd_high=0x3d800000\n"                      \
+       "fdt_high=0x20000000\0"                 \
+       "initrd_high=0x3d800000\0"              \
        "opts=loglevel=4\0"                     \
        "dfu_usb_con=0\0"                       \
        "dfu_interface=mmc\0"                   \