[PATCH 0/7] ARM/RISC-V: qemu-virt: share common cleaned up state/env support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ARM QEMU Virt has support for environment/state. Make this available in
RISC-V as well, while cleaning up the code a bit and fixing a bug due to
too early of_probe at pure_initcall level.

Ahmad Fatoum (7):
  state: mark state init errors specially
  state: make first boot less verbose
  of: overlay: rescan aliases calling of_overlay_apply_tree on live tree
  ARM: qemu: enable deep probe support
  ARM: qemu: move board code to central location
  common: boards: qemu-virt: genericize to support non-ARM architectures
  RISC-V: qemu-virt: add overlay for environment and state

 arch/arm/Kconfig                              |  1 +
 arch/arm/boards/Makefile                      |  1 -
 arch/arm/boards/qemu-virt/Makefile            |  1 -
 arch/riscv/Kconfig.socs                       | 10 +++
 arch/riscv/configs/virt32_defconfig           |  4 ++
 arch/riscv/configs/virt64_defconfig           |  4 ++
 common/Kconfig                                |  2 +
 common/Makefile                               |  1 +
 common/boards/Kconfig                         |  4 ++
 common/boards/Makefile                        |  3 +
 common/boards/qemu-virt/Makefile              |  7 +++
 {arch/arm => common}/boards/qemu-virt/board.c | 61 ++++++++-----------
 .../boards/qemu-virt/overlay-of-flash.dts     | 13 +++-
 common/state/backend_format_raw.c             |  7 +--
 common/state/backend_storage.c                | 17 +++---
 common/state/state.c                          |  4 +-
 common/state/state.h                          | 14 +++++
 drivers/misc/state.c                          |  4 +-
 drivers/of/overlay.c                          |  4 ++
 19 files changed, 110 insertions(+), 52 deletions(-)
 create mode 100644 common/boards/Kconfig
 create mode 100644 common/boards/Makefile
 create mode 100644 common/boards/qemu-virt/Makefile
 rename {arch/arm => common}/boards/qemu-virt/board.c (64%)
 rename {arch/arm => common}/boards/qemu-virt/overlay-of-flash.dts (83%)

-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux