[PATCH 0/2 v3] Refactor the aarch64/raspberryp4b BSP
Utkarsh Verma
utkarsh at bitbanged.com
Wed Aug 9 03:48:20 UTC 2023
This patch series refactors the BSP and build spec for Raspberry Pi 4B
with the following goals in mind:
- IWYU(include what you use) includes
- Modularity in BSP and the build spec
- Strict MMU mapping
This is my first code contribution to RTEMS, therefore suggestions of
any kind would be highly appreciated.
Regards,
Utkarsh
Utkarsh Verma (2):
bsps/aarch64/raspberrypi: Refactor the BSP
build: Modularize the aarch64/raspberrypi spec
bsps/aarch64/raspberrypi/console/console.c | 39 +-
bsps/aarch64/raspberrypi/include/bsp.h | 37 +-
.../aarch64/raspberrypi/include/bsp/bcm2711.h | 96 ++++
bsps/aarch64/raspberrypi/include/bsp/irq.h | 102 ++--
.../raspberrypi/include/bsp/raspberrypi.h | 471 ------------------
.../include/bsp/start/bspstartmmu.h | 45 ++
bsps/aarch64/raspberrypi/include/tm27.h | 5 +-
bsps/aarch64/raspberrypi/start/bspstart.c | 16 +-
.../aarch64/raspberrypi/start/bspstarthooks.c | 26 +-
bsps/aarch64/raspberrypi/start/bspstartmmu.c | 66 +--
spec/build/bsps/aarch64/raspberrypi/abi.yml | 39 +-
spec/build/bsps/aarch64/raspberrypi/bsp4b.yml | 23 +
.../aarch64/raspberrypi/bspraspberrypi4.yml | 72 ---
spec/build/bsps/aarch64/raspberrypi/grp.yml | 25 +
spec/build/bsps/aarch64/raspberrypi/grp4b.yml | 26 +
.../{linkercmds.yml => linkcmds.yml} | 27 +-
spec/build/bsps/aarch64/raspberrypi/obj.yml | 40 ++
.../bsps/aarch64/raspberrypi/objcache.yml | 23 +
.../bsps/aarch64/raspberrypi/objclock.yml | 24 +
.../bsps/aarch64/raspberrypi/objconsole.yml | 20 +
.../build/bsps/aarch64/raspberrypi/objirq.yml | 27 +
.../bsps/aarch64/raspberrypi/objstart.yml | 35 ++
22 files changed, 553 insertions(+), 731 deletions(-)
create mode 100644 bsps/aarch64/raspberrypi/include/bsp/bcm2711.h
delete mode 100644 bsps/aarch64/raspberrypi/include/bsp/raspberrypi.h
create mode 100644 bsps/aarch64/raspberrypi/include/bsp/start/bspstartmmu.h
create mode 100644 spec/build/bsps/aarch64/raspberrypi/bsp4b.yml
delete mode 100644 spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml
create mode 100644 spec/build/bsps/aarch64/raspberrypi/grp.yml
create mode 100644 spec/build/bsps/aarch64/raspberrypi/grp4b.yml
rename spec/build/bsps/aarch64/raspberrypi/{linkercmds.yml => linkcmds.yml} (88%)
create mode 100644 spec/build/bsps/aarch64/raspberrypi/obj.yml
create mode 100644 spec/build/bsps/aarch64/raspberrypi/objcache.yml
create mode 100644 spec/build/bsps/aarch64/raspberrypi/objclock.yml
create mode 100644 spec/build/bsps/aarch64/raspberrypi/objconsole.yml
create mode 100644 spec/build/bsps/aarch64/raspberrypi/objirq.yml
create mode 100644 spec/build/bsps/aarch64/raspberrypi/objstart.yml
--
2.41.0
More information about the devel
mailing list