[U-Boot] [PATCH 01/12] aspeed: Add mach-aspeed directory and basic Kconfig

Tom Rini
2017-01-04T20:23:25Z

On Wed, Jan 04, 2017 at 11:58:17AM -0800, Rick Altherr wrote:
> On Wed, Jan 4, 2017 at 11:46 AM, Maxim Sloyko <maxims@google.com> wrote:
>
> > Signed-off-by: Maxim Sloyko <maxims@google.com>
> > ---
> >
> > arch/arm/Kconfig | 7 +++++++
> > arch/arm/Makefile | 1 +
> > arch/arm/mach-aspeed/Kconfig | 15 +++++++++++++++
> > arch/arm/mach-aspeed/Makefile | 8 ++++++++
> > 4 files changed, 31 insertions(+)
> > create mode 100644 arch/arm/mach-aspeed/Kconfig
> > create mode 100644 arch/arm/mach-aspeed/Makefile
> >
> > diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> > index 714dd8b514..135c544335 100644
> > --- a/arch/arm/Kconfig
> > +++ b/arch/arm/Kconfig
> > @@ -882,8 +882,15 @@ config TARGET_THUNDERX_88XX
> > select OF_CONTROL
> > select SYS_CACHE_SHIFT_7
> >
> > +config ARCH_ASPEED
> > + bool "Support Aspeed SoCs"
> > + select OF_CONTROL
> > + select DM
> > +
> > endchoice
> >
> > +source "arch/arm/mach-aspeed/Kconfig"
> > +
> > source "arch/arm/mach-at91/Kconfig"
> >
> > source "arch/arm/mach-bcm283x/Kconfig"
> > diff --git a/arch/arm/Makefile b/arch/arm/Makefile
> > index 236debb452..cc73e1038e 100644
> > --- a/arch/arm/Makefile
> > +++ b/arch/arm/Makefile
> > @@ -50,6 +50,7 @@ PLATFORM_CPPFLAGS += $(arch-y) $(tune-y)
> >
> > # Machine directory name. This list is sorted alphanumerically
> > # by CONFIG_* macro name.
> > +machine-$(CONFIG_ARCH_ASPEED) += aspeed
> > machine-$(CONFIG_ARCH_AT91) += at91
> > machine-$(CONFIG_ARCH_BCM283X) += bcm283x
> > machine-$(CONFIG_ARCH_DAVINCI) += davinci
> > diff --git a/arch/arm/mach-aspeed/Kconfig b/arch/arm/mach-aspeed/Kconfig
> > new file mode 100644
> > index 0000000000..43cdbeda84
> > --- /dev/null
> > +++ b/arch/arm/mach-aspeed/Kconfig
> > @@ -0,0 +1,15 @@
> > +if ARCH_ASPEED
> > +
> > +config SYS_ARCH
> > + default "arm"
> > +
> > +config SYS_SOC
> > + default "aspeed"
> > +
> > +config ASPEED_AST2500
> > + bool "Support Aspeed AST2500 SoC"
> > + select CPU_ARM1176
> > + help
> > + The Aspeed AST2500 is a ARM-based SoC with arm1176 CPU
> > +
> > +endif
> > diff --git a/arch/arm/mach-aspeed/Makefile b/arch/arm/mach-aspeed/Makefile
> > new file mode 100644
> > index 0000000000..8e276b4a9f
> > --- /dev/null
> > +++ b/arch/arm/mach-aspeed/Makefile
> > @@ -0,0 +1,8 @@
> > +#
> > +# Copyright (c) 2014 Google, Inc
> > +#
> > +# SPDX-License-Identifier: GPL-2.0+
> > +#
> > +
> > +obj-$(CONFIG_ARCH_ASPEED) += ast_wdt.o
> > +obj-$(CONFIG_ASPEED_AST2500) += ast2500/ ast2500-board.o
> >
>
> These files don't exist yet.

Indeed. The basic answer here is that the series should probably be 4-5
patches long. I'll reply to 0/12 about my suggestion there, thanks!

--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170104/da2f2da6/attachment.sig>