[RESEND PATCH v6 0/2] Add OpenPiton-riscv64 Board Support
Tianrui Wei
tianrui-wei at outlook.com
Sat Jun 12 19:16:48 CEST 2021
This patch set is to add OpenPiton board support. Patches are split into
several parts:
- [PATCH 1/2] add OpenPiton support to mmc driver
- [PATCH 2/2] add support for OpenPiton board
Description
- for mmc driver, it's settings are automatically configured at hardware level.
We only need to expose the memory mapped interface through U-Boot driver model
- For OpenPiton, as we need to embed the device tree blob into the bitstream,
there is currently no itb support
Tests checks
- Able to boot Debian Linux from SD card on Digilent Genesys 2
- Checkpatch is performed, with some warnings ignored
Changelogs
- V2
. fix styles and typos in [1/2] and [2/2]
. add board documentation in [2/2]
- V3
. fix styles in [1/2]
- V4
. fix checkpatch warnings in [1/2] except MAINTAINERS
- V5
. major changes in device tree
. changed to OF_SEPARATE
. formatting update for mmc
- V6
. eliminate debug outputs altogether
. separate defconfigs between SPL and u-boot proper
. style updates thanks to Sean
- V6 Resend
. fix a few typos
Acknowledgements
We'd like to thank all maintainers who have reviewed our code. But we'd
like to thank Sean in particular for taking much time and energy to help
us write better code.
Tianrui Wei (2):
board: riscv: add openpiton-riscv64 SoC support
mmc: openpiton: add piton_mmc driver
arch/riscv/Kconfig | 4 +
arch/riscv/dts/Makefile | 1 +
arch/riscv/dts/openpiton-riscv64.dts | 153 ++++++++
board/openpiton/riscv64/Kconfig | 42 +++
board/openpiton/riscv64/MAINTAINERS | 8 +
board/openpiton/riscv64/Makefile | 5 +
board/openpiton/riscv64/openpiton-riscv64.c | 33 ++
configs/openpiton_riscv64_defconfig | 76 ++++
configs/openpiton_riscv64_spl_defconfig | 87 +++++
doc/board/index.rst | 1 +
doc/board/openpiton/index.rst | 9 +
doc/board/openpiton/riscv64.rst | 376 ++++++++++++++++++++
drivers/mmc/Kconfig | 9 +
drivers/mmc/Makefile | 1 +
drivers/mmc/piton_mmc.c | 169 +++++++++
include/configs/openpiton-riscv64.h | 62 ++++
16 files changed, 1036 insertions(+)
create mode 100644 arch/riscv/dts/openpiton-riscv64.dts
create mode 100644 board/openpiton/riscv64/Kconfig
create mode 100644 board/openpiton/riscv64/MAINTAINERS
create mode 100644 board/openpiton/riscv64/Makefile
create mode 100644 board/openpiton/riscv64/openpiton-riscv64.c
create mode 100644 configs/openpiton_riscv64_defconfig
create mode 100644 configs/openpiton_riscv64_spl_defconfig
create mode 100644 doc/board/openpiton/index.rst
create mode 100644 doc/board/openpiton/riscv64.rst
create mode 100644 drivers/mmc/piton_mmc.c
create mode 100644 include/configs/openpiton-riscv64.h
--
2.32.0
More information about the U-Boot
mailing list