diff options
author | Alan Cudmore <alan.cudmore@gmail.com> | 2022-09-29 12:11:59 -0400 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2022-10-14 08:15:14 -0500 |
commit | 1d2fab8a79c963cdb88e6616031984b18db81191 (patch) | |
tree | 97c9930d86be477060b49358fe1d39149e8d60a8 /cpukit/include/rtems | |
parent | riscv: Move functions to avoid build issues (diff) | |
download | rtems-1d2fab8a79c963cdb88e6616031984b18db81191.tar.bz2 |
bsps: Improve riscv console FDT parsing
This fixes a problem with parsing the FDT compatible property by
replacing the RISCV_CONSOLE_IS_COMPATIBLE macro with calls to
the fdt_stringlist_contains function. The macro only works when
the compatible FDT entry is a single string and not a list of
strings. The new call will compare each item in the string list.
Close #4728.
Diffstat (limited to 'cpukit/include/rtems')
0 files changed, 0 insertions, 0 deletions