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)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 20 Oct 2020 06:13:49 +0000 (15:13 +0900)
commit3235dfca5d7b764b9a3095361be709edd5cbc290
tree48bc4706d74d5a4a25d6686d837ef7ea73b7521a
parent8ee427ad25695d474b5baaf8d07e0de7c7ca4332
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