rpi: tizen-boot-rpi3: calculate tizen_kernel_addr_r with ramdisk's size
authorJaehoon Chung <jh80.chung@samsung.com>
Mon, 22 Jun 2020 02:18:03 +0000 (11:18 +0900)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 15 Nov 2021 10:37:12 +0000 (11:37 +0100)
commit48bfaa296afbfad18d8446c01b24be453492f0a4
tree6ddeb2351730a25e974f3e777796fb2ec68be939
parentf56a071290d57b9da83f62c2422d8bcba6ed924e
rpi: tizen-boot-rpi3: calculate tizen_kernel_addr_r with ramdisk's size

Calculate tizen_kernel_addr_r with ramdisk's size.
When ramdisk size is increased, kernel loading offset will be also
increased. It can prevent to overwrite the images.

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