View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004904 | UBoot | U-Boot | public | 2021-10-05 09:19 | 2021-10-05 12:36 |
Reporter | derksen | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | fsimx8mx-Y2020.11-pre | ||||
Target Version | fsimx8mm-Y2021.04 | Fixed in Version | fsimx8mm-Y2021.04 | ||
Summary | 0004904: fsimx8mm: Handle device tree fixup more cleanly | ||||
Description | fsimx8mm: 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 | |||||