rpi: tizen-boot-rpi4: fix hard-coding value about ramdisksize
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 17 Jun 2020 11:44:37 +0000 (20:44 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 20 Oct 2020 06:13:49 +0000 (15:13 +0900)
commit8ee427ad25695d474b5baaf8d07e0de7c7ca4332
tree9aa0e3e5a75e4d42edaac5a52b325a6f3e2a4dd3
parent14504ecbf099f39fe25b11be5217548c38e2fda7
rpi: tizen-boot-rpi4: 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: I450ace4f0e795f0a05f5ff36fcd837349bc5a4aa
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
board/raspberrypi/rpi/tizen-boot-rpi4-32b.scr
board/raspberrypi/rpi/tizen-boot-rpi4.scr