nuttx/boards/risc-v/mpfs/common/src
Eero Nurkkala 3afc83abc7 risc-v/mpfs: ihc: reorganize ihc
Currently the IHC (Inter Hart Communication) depends on OpenAMP and
rptun.  However, the bootloader portion of the IHC doesn't need
either of them.  Now they are wasting a lot of bootloader space.

Reorganize the bootloader portion into a separate file 'mpfs_ihc_sbi.c'.
This file contains the OpenSBI vendor extensions, or the only required
functionalities for the bootloader.  On the other hand, 'mpfs_ihc.c'
contains the non-bootloader code.

This patch also makes it possible to utilize 2 RPMSG channels.  This
has been tested so that 2 separate NuttXs on harts 1 and 2 communicate
with Linux kernel that runs on harts 3 and 4.

New configuration files are added as well:
  - rpmsg-ch1:  sample config for RPMSG
  - rpmsg-ch2:  sample config for another RPMSG channel
  - rpmsg-sbi:  sample bootloader config for RPMSG/OpenSBI

Signed-off-by: Eero Nurkkala <eero.nurkkala@offcode.fi>
2022-11-02 21:44:52 +08:00
..
Make.defs risc-v/mpfs: ihc: reorganize ihc 2022-11-02 21:44:52 +08:00
mpfs_board_spi.c
mpfs_boot.c Remove executable permission from source and build files. 2022-08-04 12:48:18 -03:00
mpfs_composite.c risc-v/mpfs: usb: provide more endpoints 2022-09-06 23:10:30 +08:00
mpfs_emmcsd.c arch/risc-v: Remove FAR from chip and board folder 2022-04-19 00:22:45 +03:00
mpfs_i2c.c arch/risc-v: Remove FAR from chip and board folder 2022-04-19 00:22:45 +03:00
mpfs_ihc.c risc-v/mpfs: amend OpenSBI to utilize IHC 2022-05-24 03:25:37 +08:00
mpfs_pwm.c
mpfs_usb.c risc-v/mpfs: usb: add composite support 2022-06-09 20:44:40 +08:00