tizen: amlogic: make 'dfu_alt_info' static 49/247849/2
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 17 Nov 2020 10:16:28 +0000 (11:16 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 17 Nov 2020 10:55:12 +0000 (11:55 +0100)
commit70f380eea98b1b610dbe41588fa9ea7abd660f67
tree9eda1a8f181974db696939d3e2c34f08f48e3d96
parentbf8b29d18f443ca8a49cef233b80bc5fb5cc6d5f
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
configs/khadas-vim3_defconfig
configs/odroid-c4_defconfig
configs/odroid-n2_defconfig
include/samsung/tizen_amlogic.h