[U-Boot] [PATCH 01/12] aspeed: Add mach-aspeed directory and basic Kconfig
Rick Altherr
raltherr at google.com
Wed Jan 4 20:58:17 CET 2017
On Wed, Jan 4, 2017 at 11:46 AM, Maxim Sloyko <maxims at google.com> wrote:
> Signed-off-by: Maxim Sloyko <maxims at 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.
> --
> 2.11.0.390.gc69c2f50cf-goog
More information about the U-Boot
mailing list