On 2/17/23 13:50, Tom Rini wrote:
When we have an arch_misc_init function, we can select it to ensure it's
used.
In that there is a functional change here, it's that on i.MX6 it's
always been possible to populate "serial#" with something meaningful,
but not every platform was taking the hook, and now it is.
Signed-off-by: Tom Rini <[email protected]>
---
Cc: Marcel Ziswiler <[email protected]>
Cc: Marek Vasut <[email protected]>
Cc: Olaf Mandel <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: NXP i.MX U-Boot Team <[email protected]>
Changes in v2:
- Always select ARCH_MISC_INIT on IMX8M as dealing with FSL_CAAM or not
needs further SoC-specific clean up work. This replaces patches 10 and
11 from before so that if the user enables FSL_CAAM then they will
continue to get the functionality they had before. As Marek noted in the
thread, further clean-up in this area would be good.
The SPL code does not automatically call arch_misc_init() if
ARCH_MISC_INIT is selected , so this won't work as-is. Is there another
patch on which I wasn't CCed which deals with that ?