[U-Boot] [RFC PATCH 0/21] ARM: start to move SoC code into arch/arm/mach-*

Albert ARIBAUD albert.u.boot at aribaud.net
Tue Feb 3 08:42:27 CET 2015


Hello Simon,

On Sun, 1 Feb 2015 09:23:05 -0700, Simon Glass <sjg at chromium.org> wrote:
> Hi Albert,

> [...]
>
> I think the ARM core name is a convenient way of splitting things up
> and has served us well. But now the common elements are more at the
> SOC level. Yes the idea of arch/arm/soc/mach-... is more pure from a
> hierarchical point of view, but arch/arm/mach-... would be my
> preference. I feel that arch/arm is underused now, and U-Boot is
> growing so we should try to 'balance' the source tree, making sure
> each level of the hierarchy justifies itself with enough
> files/subdirs, etc.
> 
> [...]

Can't say I like directory entry count as a criterion for structuring a
source code tree, but apart from that nitpick, the rest of your and
others' explanations (skipped here for clarity) makes sense. Oh well,
I'll have to learn to live without a soc subdir. :)

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list