tizen: amlogic: make 'dfu_alt_info' static
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 17 Nov 2020 10:16:28 +0000 (11:16 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 12 Oct 2022 05:47:57 +0000 (14:47 +0900)
commitbb77f6bd72df99f7a5f27d2277f415877eda96fc
tree687d1c6228123c57c63566a0487592fb90d50eb2
parent0527267851de5e7a72dde1e94cf50ebe8bd4733f
tizen: amlogic: make 'dfu_alt_info' static

The data layout on the storage device is the same for both eMMC and SD
card, so after switching to the default boot MMC device, the 'dfu_alt_info'
string is static, fully known during the compile time. Use this simple
approach, which is a bit more error proof for future changes. It also
obsoletes the custom code added to Amlogic boards.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I37fc03fe245bfdf5229922ecfd5f0d00ef00b6e6
arch/arm/mach-meson/board-common.c
board/amlogic/odroid-n2/odroid-n2.c
board/amlogic/w400/w400.c
include/samsung/tizen_amlogic.h