board: samsung: e850-96: Add bootdev var to choose boot device
authorSam Protsenko <semen.protsenko@linaro.org>
Wed, 6 Aug 2025 22:27:07 +0000 (17:27 -0500)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 1 Sep 2025 07:37:13 +0000 (16:37 +0900)
commit75f75832d0a97a8c1e1167eb3a6d3dbd1d4eae54
tree3fd1c22a1266639dee4c8e0e539d66affbad451c
parentc542140d7cade7d2f14a7a0f260de9b196a97d00
board: samsung: e850-96: Add bootdev var to choose boot device

Provide a way for the user to select which storage to load the LDFW
firmware from, by setting the corresponding environment variables:
  - bootdev: block device interface name
  - bootdevnum: block device number
  - bootdevpart: partition number

This might be useful when the OS is flashed and booted from a different
storage device than eMMC (e.g. USB flash drive). In this case it should
be sufficient to just set:

    => setenv bootdev usb
    => env save

assuming that the USB drive layout follows the same partitioning scheme
as defined in $partitions.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
board/samsung/e850-96/e850-96.c