tizen: amlogic: remove unused environment values 93/247993/1
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 19 Nov 2020 03:28:29 +0000 (12:28 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Thu, 19 Nov 2020 04:30:30 +0000 (13:30 +0900)
Remove unused environment values.
It doesn't need to enter the flash mode with inform file.
If it needs to consider the flash mode, then we can use Amlogic's
scheme with secure monitor command.

Change-Id: Ia5374f7b2f411c3a48c0d469c837541875f0f84a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
board/amlogic/odroid-n2/tizen-boot-odroid-c4-64b.scr
board/amlogic/w400/tizen-boot-khadas-vim3-64b.scr
board/amlogic/w400/tizen-boot-odroid-n2-64b.scr
include/samsung/tizen_amlogic.h

index 973878d55c2b28ade90899f74fc70a43e749f46d..28ce7e9aab60a9eac33392b37d5320169384d29d 100644 (file)
@@ -25,19 +25,6 @@ setenv tizen_kernel_addr_r "0x2400000"
 setenv tizen_tmp_kernel_addr_r "0x1000000"
 setenv ramdisk_addr_r "0x1b00000"
 
-# This is for jumping to flash mode on u-boot.
-if test "${bootmode}" = "download"; then;
-       setenv ramdiskpart 8
-       setenv ramdisksize c00000
-       setenv bootmode flash
-fi
-
-if test "${bootmode}" = "flash"; then;
-       if test -n "${ipaddr}"; then;
-               ip_opt=\"ip=${ipaddr}::${gateway}:${netmask}\"
-       fi
-fi
-
 # boot from ram0 if there is sbin
 if test -e $bootdev $mmcrootdev:$ramdiskpart sbin/init; then;
        setenv rootdev ram0
index 0a9364eaa5cf8c68d17d899198c20971a9e66a58..186837abd764dd6c03555501ac8c316b56c16a6b 100644 (file)
@@ -49,19 +49,6 @@ setenv tizen_kernel_addr_r "0x2400000"
 setenv tizen_tmp_kernel_addr_r "0x1000000"
 setenv ramdisk_addr_r "0x1b00000"
 
-# This is for jumping to flash mode on u-boot.
-if test "${bootmode}" = "download"; then;
-       setenv ramdiskpart 8
-       setenv ramdisksize c00000
-       setenv bootmode flash
-fi
-
-if test "${bootmode}" = "flash"; then;
-       if test -n "${ipaddr}"; then;
-               ip_opt=\"ip=${ipaddr}::${gateway}:${netmask}\"
-       fi
-fi
-
 # boot from ram0 if there is sbin
 if test -e $bootdev $mmcrootdev:$ramdiskpart sbin/init; then;
        setenv rootdev ram0
index 63968d5a2fca293a5c625910c42aaa45ea4e0c88..9ebc49d18a56566426018229443c0f3bd28966fe 100644 (file)
@@ -97,19 +97,6 @@ setenv tizen_kernel_addr_r "0x2400000"
 setenv tizen_tmp_kernel_addr_r "0x1000000"
 setenv ramdisk_addr_r "0x1b00000"
 
-# This is for jumping to flash mode on u-boot.
-if test "${bootmode}" = "download"; then;
-       setenv ramdiskpart 8
-       setenv ramdisksize c00000
-       setenv bootmode flash
-fi
-
-if test "${bootmode}" = "flash"; then;
-       if test -n "${ipaddr}"; then;
-               ip_opt=\"ip=${ipaddr}::${gateway}:${netmask}\"
-       fi
-fi
-
 # boot from ram0 if there is sbin
 if test -e $bootdev $mmcrootdev:$ramdiskpart sbin/init; then;
        setenv rootdev ram0
index 5e35c54222436695f5f145544a83e3f26a97ef53..a12246c802ec01373a29fe1b9804cfe14327f0a3 100644 (file)
 #define TIZEN_ENV_SETTING \
        "mmcbootpart=1\0"                       \
        "mmcrootpart=2\0"                       \
-       "mmcinformpart=9\0"                     \
-       "rebootparamfile=reboot-param.bin\0"    \
-       "rebootparam_addr=0x02100000\0"         \
-       "upgrade_val=72677075\0"                \
-       "recovery_val=72766372\0"               \
-       "nodef_val=6665646e\0"                  \
-       "download_val=6c6e7764\0"               \
        "ramdiskpart=7\0"                       \
        "ramdisksize=800000\0"                  \
        "bootmode=ramdisk\0"                    \
        "bootdev=mmc\0"                         \
-       "tfm=setenv bootmode download; run bootcmd\0"   \
        "dfu_alt_info=" DFU_ALT_SYSTEM ";" DFU_ALT_BOOT "\0"\
        "fdt_high=0x20000000\0"                 \
        "initrd_high=0x3d800000\0"              \