[PATCH v1] Replace TARGET namespace and cleanup properly
Sune Brian
briansune at gmail.com
Mon Dec 22 19:46:35 CET 2025
Hi Tom,
On Tue, Dec 23, 2025 at 2:31 AM Tom Rini <trini at konsulko.com> wrote:
>
> On Tue, Dec 23, 2025 at 01:05:21AM +0800, Brian Sune wrote:
>
> > TARGET namespace is for machines / boards / what-have-you that
> > building U-Boot for. Simply replace from TARGET to ARCH
> > make things more clear and proper for GEN5 SoCFPGA
> > where GEN5 is referring to both Cyclone5 and Arria5.
> >
> > Signed-off-by: Brian Sune <briansune at gmail.com>
>
> This might be something to work out with the rest of the Altera people.
> Looking at the start of arch/arm/mach-socfpga/Kconfig, there's a lot of
> examples of things following the anti-pattern of using the TARGET
> namespace for what seem to be architectural symbols. These should be
> converted (and in some cases possibly collapsed) one at a time.
That's why it is out of my power to do this.
But I guess ARCH_ is a good name when referencing rockchip setup.
Too many family that i don't even used before so I am not brave enough to
touch those.
Brian
>
> --
> Tom
More information about the U-Boot
mailing list