Changeset 9cda6f29 in rtems for bsps


Ignore:
Timestamp:
Sep 17, 2018, 12:12:07 PM (13 months ago)
Author:
Hesham Almatary <Hesham.Almatary@…>
Branches:
master
Children:
bd5cec41
Parents:
62cb39d7
git-author:
Hesham Almatary <Hesham.Almatary@…> (09/17/18 12:12:07)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/17/18 12:22:17)
Message:

riscv: Allow platforms with no PLIC to proceed

Spike simulator and QEMU's spike_v1.10 don't have a PLIC

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bsps/riscv/riscv/irq/irq.c

    r62cb39d7 r9cda6f29  
    162162  plic = riscv_fdt_get_address(fdt, node);
    163163  if (plic == NULL) {
     164#if RISCV_ENABLE_HTIF_SUPPORT != 0
     165    /* Spike platform has HTIF and does not have a PLIC */
     166    return;
     167#else
    164168    bsp_fatal(RISCV_FATAL_NO_PLIC_REG_IN_DEVICE_TREE);
     169#endif
    165170  }
    166171
Note: See TracChangeset for help on using the changeset viewer.