diff options
author | Pierre-Clément Tosi <ptosi@google.com> | 2022-01-28 21:34:02 +0100 |
---|---|---|
committer | Pierre-Clément Tosi <ptosi@google.com> | 2022-03-31 18:03:09 +0100 |
commit | e56b2fbe5b80ccdfa0ad89cc5646549eb55631f8 (patch) | |
tree | 5f696533503819e4c818ef8c5aeeb0824eb3f6ab | |
parent | 67d366081836ab6907a21a032fe0d44f35dab91e (diff) | |
download | u-boot-e56b2fbe5b80ccdfa0ad89cc5646549eb55631f8.tar.gz |
ANDROID: pvmfw: Add a machine mach-pvmfw
Allow building machine-specific code for pvmfw.
Signed-off-by: Pierre-Clément Tosi <ptosi@google.com>
Change-Id: If093397cf6c1900fbdd5880d25504bc19d1f8fe0
-rw-r--r-- | arch/arm/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/mach-pvmfw/Makefile | 3 | ||||
-rw-r--r-- | arch/arm/mach-pvmfw/cpu.c | 9 |
3 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile index ad757e982e..59df5291ed 100644 --- a/arch/arm/Makefile +++ b/arch/arm/Makefile @@ -75,6 +75,7 @@ machine-$(CONFIG_ARCH_NEXELL) += nexell machine-$(CONFIG_ARCH_OMAP2PLUS) += omap2 machine-$(CONFIG_ARCH_ORION5X) += orion5x machine-$(CONFIG_ARCH_OWL) += owl +machine-$(CONFIG_ARCH_PVMFW) += pvmfw machine-$(CONFIG_ARCH_RMOBILE) += rmobile machine-$(CONFIG_ARCH_ROCKCHIP) += rockchip machine-$(CONFIG_ARCH_S5PC1XX) += s5pc1xx diff --git a/arch/arm/mach-pvmfw/Makefile b/arch/arm/mach-pvmfw/Makefile new file mode 100644 index 0000000000..297a85ac04 --- /dev/null +++ b/arch/arm/mach-pvmfw/Makefile @@ -0,0 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0+ + +obj-y += cpu.o diff --git a/arch/arm/mach-pvmfw/cpu.c b/arch/arm/mach-pvmfw/cpu.c new file mode 100644 index 0000000000..eb03ab9c2a --- /dev/null +++ b/arch/arm/mach-pvmfw/cpu.c @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2022 Google LLC + */ + +int mach_cpu_init(void) +{ + return 0; +} |