<div dir="ltr">Forgot to add that these changes are there on my GitHub fork on the "<a href="https://github.com/UtkarshVerma/rtems/tree/rpi4b-refactor">rpi4b-refactor</a>" branch. Please have a look at it and let me know what could be improved. </div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 7, 2023 at 10:19 AM Utkarsh Verma <<a href="mailto:utkarsh@bitbanged.com">utkarsh@bitbanged.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This patch refactors the Raspberry Pi 4B BSP with the following changes:<br>
<br>
- Build spec organization<br>
- IWYU(include what you use) includes<br>
- Self contained sources and headers<br>
- More specific MMU mapping<br>
- A basic API to allow extending this BSP to other variants of the RPi<br>
  family<br>
<br>
Utkarsh Verma (2):<br>
  bsps/aarch64/raspberrypi: Refactor code base<br>
  bsps/aarch64/raspberrypi: Refactor code base<br>
<br>
 .gitignore                                    |   4 +<br>
 bsps/aarch64/raspberrypi/console/console.c    |  41 +-<br>
 bsps/aarch64/raspberrypi/include/bsp.h        |  33 +-<br>
 .../aarch64/raspberrypi/include/bsp/bcm2711.h |  98 ++++<br>
 bsps/aarch64/raspberrypi/include/bsp/irq.h    |  96 ++--<br>
 .../raspberrypi/include/bsp/raspberrypi.h     | 471 ------------------<br>
 .../include/bsp/start/bspstartmmu.h           |  45 ++<br>
 bsps/aarch64/raspberrypi/include/tm27.h       |   5 +-<br>
 bsps/aarch64/raspberrypi/start/bspstart.c     |  18 +-<br>
 .../aarch64/raspberrypi/start/bspstarthooks.c |  28 +-<br>
 bsps/aarch64/raspberrypi/start/bspstartmmu.c  |  66 +--<br>
 spec/build/bsps/aarch64/raspberrypi/abi.yml   |  37 +-<br>
 spec/build/bsps/aarch64/raspberrypi/bsp4b.yml |  23 +<br>
 .../aarch64/raspberrypi/bspraspberrypi4.yml   |  72 ---<br>
 spec/build/bsps/aarch64/raspberrypi/grp.yml   |  49 ++<br>
 spec/build/bsps/aarch64/raspberrypi/grp4b.yml |  26 +<br>
 .../{linkercmds.yml => linkcmds.yml}          |  25 +-<br>
 spec/build/bsps/aarch64/raspberrypi/obj.yml   |  50 ++<br>
 .../aarch64/raspberrypi/objconsolepl011.yml   |  24 +<br>
 .../aarch64/raspberrypi/optclockpl011freq.yml |  23 +<br>
 .../aarch64/raspberrypi/optconsolebaud.yml    |  23 +<br>
 21 files changed, 528 insertions(+), 729 deletions(-)<br>
 create mode 100644 bsps/aarch64/raspberrypi/include/bsp/bcm2711.h<br>
 delete mode 100644 bsps/aarch64/raspberrypi/include/bsp/raspberrypi.h<br>
 create mode 100644 bsps/aarch64/raspberrypi/include/bsp/start/bspstartmmu.h<br>
 create mode 100644 spec/build/bsps/aarch64/raspberrypi/bsp4b.yml<br>
 delete mode 100644 spec/build/bsps/aarch64/raspberrypi/bspraspberrypi4.yml<br>
 create mode 100644 spec/build/bsps/aarch64/raspberrypi/grp.yml<br>
 create mode 100644 spec/build/bsps/aarch64/raspberrypi/grp4b.yml<br>
 rename spec/build/bsps/aarch64/raspberrypi/{linkercmds.yml => linkcmds.yml} (90%)<br>
 create mode 100644 spec/build/bsps/aarch64/raspberrypi/obj.yml<br>
 create mode 100644 spec/build/bsps/aarch64/raspberrypi/objconsolepl011.yml<br>
 create mode 100644 spec/build/bsps/aarch64/raspberrypi/optclockpl011freq.yml<br>
 create mode 100644 spec/build/bsps/aarch64/raspberrypi/optconsolebaud.yml<br>
<br>
-- <br>
2.41.0<br>
<br>
<br>
</blockquote></div>