tizen: amlogic: automatically set "dfu_device" env 46/247846/2
authorMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 17 Nov 2020 09:59:13 +0000 (10:59 +0100)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Tue, 17 Nov 2020 10:55:12 +0000 (11:55 +0100)
commitaf24d8a82c93f8a51f2d4c47a2fb5a300849f128
tree4d330face66cb5a0229dfa58585232cb33122e78
parent2b23c84139c855ff076f7d67bba58034dfafaf49
tizen: amlogic: automatically set "dfu_device" env

Automatically set "dfu_device" to the current boot MMC device number. This
allows to call dfu/thor/ums commands without any parameters for the default
storage device.

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