View Issue Details

IDProjectCategoryView StatusLast Update
0004904UBootU-Bootpublic2021-10-05 12:36
Reporterderksen Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Versionfsimx8mx-Y2020.11-pre 
Target Versionfsimx8mm-Y2021.04Fixed in Versionfsimx8mm-Y2021.04 
Summary0004904: fsimx8mm: Handle device tree fixup more cleanly
Descriptionfsimx8mm: Handle device tree fixup more cleanly

We have two different functions:

- board_fix_fdt() is called before U-Boot is started to set up U-Boot's
  device tree.
- ft_board_setup() is called before Linux is started to set up Linux'
  device tree.

Both functions simply call do_fdt_board_setup_common(), but there we
need again a boolean variable to differentiate between the U-Boot and
the Linux case.

This does not make sense. The U-Boot specific stuff can be done
directly in board_fix_fdt() and the Linux specific stuff can be done
directly in ft_board_setup(). So do_fdt_board_setup_common() only needs
to contain all the stuff that is really common to both cases.
Forum Link

Activities

There are no notes attached to this issue.