samsung: tizen_rpi: remove unnecessary variable and comment 58/236758/1 accepted/tizen/unified/20200623.080549 submit/tizen/20200622.213607
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 22 Jun 2020 02:24:36 +0000 (11:24 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 22 Jun 2020 02:24:36 +0000 (11:24 +0900)
Remove unnecesarry environment variable.
ramdisksize and tizen_kernel_addr_r are set to correct value in boot
script.
Because comment was not valid, it doesn't need to keep.

Change-Id: Ica280a521ba538340b9dfbe640e6a5fd9839ab85
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
include/samsung/tizen_rpi.h

index edbbde46bcc3f692dd905fa2a337fbee05fc5fc5..522b704b5d067183bd510d8ff00d60f86fa40672 100644 (file)
 /* SD/MMC configuration */
 #define CONFIG_MMC_DEFAULT_DEV 0
 
-/*
-# Tizen kernel image is over than 16MB, it will be overlapped with other address.
-# To avoid this behaivor, change to 0x03300000 from 0x01000000
-#
-# NOTE: booti command will move kernel image to 0x80000 (text offset), and
-# ramdisk is loaded to $ramdisk_addr_r (0x02100000), so kernel should be equal
-# or less than 32.5MB to load ramdisk properly.
-*/
 /*
 # use the ram address of ramdisk before loading ramdisk image
 # 0x72677075 is ascii code for representing string "upgr"
@@ -72,7 +64,6 @@
 # 0x6c6e7764 is ascii code for representing string "dwnl"
 */
 #define TIZEN_ENV_SETTING \
-       "tizen_kernel_addr_r=0x03300000\0"      \
        "mmcbootdev=0\0"                        \
        "mmcbootpart=1\0"                       \
        "mmcrootdev=0\0"                        \
@@ -85,7 +76,6 @@
        "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"   \