[U-Boot] i.MX8M layout, rephrased
Sergey Kubushyn
ksi at koi8.net
Tue Dec 18 01:54:10 UTC 2018
I'm looking at U-Boot master tree and u-boot-imx repository. What we have
now is quite a mess for i.MX8M.
In master we have the following directories:
arch/arm/mach-imx/imx8
arch/arm/mach-imx/mx8m
arch/arm/include/asm/arch-imx8
arch/arm/include/asm/arch-mx8m
In u-boot-imx it is different:
arch/arm/mach-imx/imx8
arch/arm/mach-imx/imx8m (vs ../mx8m in master)
arch/arm/include/asm/arch/arch-imx8
arch/arm/include/asm/arch/arch-imx8m (vs ../mx8m in master)
The question is which one is going to make it in the master tree?
The problem here is that files from those directories are referenced in
multiple places and the "imx8m"/"mx8m" is all over in the header files and
sources so once we decided on either naming one tree would have to make a
lot of changes either adding or removing that 'i' before "mx8m".
Can anybody responsible tell _WHICH_ one is going to make it into the main
source tree? Would it be better if we decide on it sooner than later (i.e.
_NOW_) so we won't have to hunt it all over the tree later on?
I assume it should be "mx8m" as it is in master tree following suit for
other flavors so it is u-boot-imx tree that has to be fixed.
Another issue is that ARCH_IMX8 and ARCH_IMX8M are treated as different
ARCHITECTURES in u-boot-imx unlike e.g. IMX6 that is treated as one ARCH
with different flavors (SX/DL/Q/whatever). That makes a lot of unnecessary
confusion and, IMHO, should be somehow cleaned up to make it consistent.
Can anybody tell something on this? Any thoughts, ideas, recomendations?
---
******************************************************************
* KSI at home KOI8 Net < > The impossible we do immediately. *
* Las Vegas NV, USA < > Miracles require 24-hour notice. *
******************************************************************
More information about the U-Boot
mailing list