Following Tom's review of v2, add a common include/asm-generic/spl.h
with the BOOT_DEVICE_* list, use it for RISC-V, and then add
BOOT_DEVICE_UFS to it. Other architectures that do not need ROM-defined
values can switch to the common header in follow-up patches.

Changes in v3:
- Add include/asm-generic/spl.h with the common BOOT_DEVICE list and use
  it for RISC-V, as suggested by Tom Rini
- Split into a move patch and a BOOT_DEVICE_UFS patch

Changes in v2:
- Add a comment documenting that BOOT_DEVICE_NONE must stay last
- Explain in the commit message that BOOT_DEVICE_* values are
  SPL-internal, so this is not an ABI change

Urvashi Sharma (2):
  riscv: spl: Move BOOT_DEVICE enum to asm-generic/spl.h
  spl: Add BOOT_DEVICE_UFS

 arch/riscv/include/asm/spl.h | 22 +--------------------
 include/asm-generic/spl.h    | 38 ++++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+), 21 deletions(-)
 create mode 100644 include/asm-generic/spl.h

-- 
2.34.1

Reply via email to