[RTEMS Project] #4728: RISC-V console device tree parsing fails with a list of properties

RTEMS trac trac at rtems.org
Fri Oct 14 13:04:08 UTC 2022


#4728: RISC-V console device tree parsing fails with a list of properties
------------------------------+--------------------------------------------
 Reporter:  Alan Cudmore      |       Owner:  Alan Cudmore <alan.cudmore@…>
     Type:  defect            |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  bsps              |     Version:  6
 Severity:  normal            |  Resolution:  fixed
 Keywords:                    |  Blocked By:
  riscv,fdt,console           |
 Blocking:                    |
------------------------------+--------------------------------------------
Changes (by Alan Cudmore <alan.cudmore@…>):

 * owner:  (none) => Alan Cudmore <alan.cudmore@…>
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"1d2fab8a79c963cdb88e6616031984b18db81191/rtems"
 1d2fab8/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="1d2fab8a79c963cdb88e6616031984b18db81191"
 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.
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/4728#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list