1. Dec 17, 2022
  2. Dec 12, 2022
  3. Dec 11, 2022
  4. Dec 09, 2022
  5. Dec 05, 2022
  6. Dec 04, 2022
  7. Nov 22, 2022
  8. Nov 15, 2022
  9. Oct 23, 2022
    • Vivian Wang's avatar
      lib: sbi_ecall: Add Kconfig option for each extension · 22f38ee6
      Vivian Wang authored
      
      
      For each SBI extension, we:
      
      - Add a Kconfig option for it
      - Add the extension to sbi_ecall_exts only if the extension is enabled
      - Add the corresponding sbi_ecall_* object file only if the extension is
        enabled
      
      Special cases are as follows:
      
      - The legacy extensions are lumped together as one 'big' extension, as
        has always been the case in OpenSBI code.
      - The platform-defined vendor extensions are regarded as one extension.
      - The Base extension cannot be disabled.
      - sbi_ecall_replace implements multiple extensions, so it's not easy to
        avoid linking it in. Enable it always, and use #ifdef to
        disable/enable individual extensions.
      
      Signed-off-by: default avatarVivian Wang <dramforever@live.com>
      Reviewed-by: default avatarAndrew Jones <ajones@ventanamicro.com>
      Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
      22f38ee6