[U-Boot] Where should Renesas RZ/A go under arch/arm/ ????
Chris Brandt
Chris.Brandt at renesas.com
Tue Oct 31 12:13:22 UTC 2017
Hello,
Since I've been supporting a u-boot for the Renesas RZ/A1 SoC for a
while now, I thought I'd start upstreaming the drivers/patches I've acquired
over the years.
But, where should the core files and Kconfig go?
The RZ/A1 series has a Cortex-A9.
At first, I had made a directory under arch/arm/cpu/armv7/
But, now I see things are moving under arch/arm/mach-xxxx.
There is a arch/arm/mach-rmobile directory that has the Renesas R-Car
devices. But while the RZ/A1 uses some of the same HW IP blocks, for the
most part it's a different product line.
So, Where should I put my RZ/A1 (and future RZ/A devices, or future RZ/N
devices)?
1. Keep all Renesas parts together like we do in the kernel (arm/mach-shmobile)?
u-boot/arch/arm/mach-rmobile
2. Create a new directory just for the RZ/A series?
u-boot/arch/arm/mach-rza
3. Create a new directory just for any Renesas parts that are not rmobile?
u-boot/arch/arm/mach-renesas
The one issue with #2 and #3 is that currently arch/arm/Kconfig has
config ARCH_RMOBILE
bool "Renesas ARM SoCs"
Which basically tells users that any Renesas SoC would be under mach-rmobile.
So, if I at least know what directory I should start with, I can figure
out how to make the rest work.
Thank you,
Chris
More information about the U-Boot
mailing list