U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] i.MX8M layout, rephrased
@ 2018-12-18  1:54 Sergey Kubushyn
  2018-12-18  3:14 ` Sergey Kubushyn
  2018-12-19 13:17 ` Peng Fan
  0 siblings, 2 replies; 7+ messages in thread
From: Sergey Kubushyn @ 2018-12-18  1:54 UTC (permalink / raw)
  To: u-boot

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.   *
******************************************************************

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-12-26 22:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-18  1:54 [U-Boot] i.MX8M layout, rephrased Sergey Kubushyn
2018-12-18  3:14 ` Sergey Kubushyn
2018-12-26 16:57   ` Tom Rini
2018-12-26 21:17     ` Sergey Kubushyn
2018-12-26 21:31       ` Fabio Estevam
2018-12-26 22:33         ` Sergey Kubushyn
2018-12-19 13:17 ` Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox