rpi: tizen-boot-rpi3: fix hard-coding value about ramdisksize
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 18 Jun 2020 04:04:18 +0000 (13:04 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Nov 2021 10:37:12 +0000 (11:37 +0100)
commitb31a8220f46cff4e47f72576defe197f8683fef9
tree4aba83ee5d150f6bb2da53ffda28021ab3fa6b11
parent3ec370a4bed4409071a08ffd98709b07ce09702a
rpi: tizen-boot-rpi3: fix hard-coding value about ramdisksize

Current ramdisksize is set to hard-condig value as 0xc00000 or 0x800000.
If ramdisk's size is changed to other, it also needs to change.
But we're getting the number of block about ramdisk partition.
Use its value to load a ramdisk image. Then it's more clear than now.

Change-Id: I59e4ed5d1c49e82c2bd76474b1d4bc086fb600e1
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
board/raspberrypi/rpi/tizen-boot-rpi3-32b.scr
board/raspberrypi/rpi/tizen-boot-rpi3.scr