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>
Wed, 12 Oct 2022 05:46:55 +0000 (14:46 +0900)
commitff4afdde97f7cd0c6fe3d01e9c04c66d9373a1ac
treeab2f53f0b21cbca28d321e2c2312d7968a3e0771
parentfab388ea1e509b67a86e9638cc22dffe0eb5e9a9
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