From abb3a2cf4af02ef84c9898dbd4c5af9354521d93 Mon Sep 17 00:00:00 2001 From: ivoszbg Date: Sun, 12 Jun 2022 17:55:59 +0300 Subject: [PATCH] soc: apple: Add basic support for Apple T7000 (aka A8) Signed-off-by: Ivaylo Ivanov --- include/soc/t7000.h | 9 +++++++++ soc/Makefile | 5 +++++ soc/apple/t7000.c | 10 ++++++++++ 3 files changed, 24 insertions(+) create mode 100644 include/soc/t7000.h create mode 100644 soc/apple/t7000.c diff --git a/include/soc/t7000.h b/include/soc/t7000.h new file mode 100644 index 0000000..ddbc5b2 --- /dev/null +++ b/include/soc/t7000.h @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2022, Ivaylo Ivanov + */ + +#ifndef T7000_H_ /* Include guard */ +#define T7000_H_ + +#endif // T7000_H_ diff --git a/soc/Makefile b/soc/Makefile index 7da8f3f..07765ec 100644 --- a/soc/Makefile +++ b/soc/Makefile @@ -32,6 +32,11 @@ ifeq ($(SOC),exynos8895) brand_name=exynos endif +# Apple +ifeq ($(SOC),t7000) +brand_name=apple +endif + all: $(brand_name)/$(SOC).o copy-soc copy-soc: diff --git a/soc/apple/t7000.c b/soc/apple/t7000.c new file mode 100644 index 0000000..ca79642 --- /dev/null +++ b/soc/apple/t7000.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ +/* + * Copyright (c) 2022, Ivaylo Ivanov + */ + +#include + +void soc_init(void) { + +}