
Hi Tom,
2021年4月15日(木) 2:33 Tom Rini trini@konsulko.com:
BTW, I made some changes on it for U-Boot drivers.
- Enabled OP-TEE node by default (EDK2 checks OP-TEE existance and enables it)
- Add SPI node information for accessing SPI-NOR from U-Boot (EDK2
embedded such information inside) Thus the DeveloperBox.dts may not be kept as-is.
These kinds of changes can be done in something such as DeveloperBox-u-boot.dtsi. Check out the logic in scripts/Makefile.lib around automatic inclusion of a "-u-boot.dtsi" file.
OK, I confirmed adding "CONFIG_DEFAULT_DEVICE_TREE-u-boot.dtsi" works.
I assume this is not part of the uniphier family, so we should start by naming these as arch/arm/dts/synquacer-... to fit with the general scheme. Perhaps -developerbox, -core and -caches ?
OK. BTW, I'm not sure what is the best way to use SYS_CPU and SYS_SOC. This SoC family name is SynQuacer and the SoC itself is SC2A11. In this case, CONFIG_SYS_CPU=synquacer CONFIG_SYS_SOC=sc2a11 or CONFIG_SYS_SOC=synquacer-sc2a11
I think the first example you list is likely the best.
I found that SYS_CPU is already set to "armv8" and it is used in the build process. So I will not change it.
Thank you,