aboutsummaryrefslogtreecommitdiff
path: root/src/cpu/allwinner/a10/cpu.c
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-05-30 22:42:42 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-08-05 08:27:12 +0000
commitc27f1c390a990eb38e4643a20ce9677330b1eb24 (patch)
treea3498274a6d978cfcafe4be65b87fc56f0c7ab20 /src/cpu/allwinner/a10/cpu.c
parent041200fae35f3701c160f96fbb617cddb72375fa (diff)
cpu/allwinner: Remove support
The Allwinner code was never completed and lacks a driver to load romstage from the bootblock. Change-Id: If2bae9e28a6e1ed6bfe0e9cb022ca410918cc4db Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33133 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/cpu/allwinner/a10/cpu.c')
-rw-r--r--src/cpu/allwinner/a10/cpu.c53
1 files changed, 0 insertions, 53 deletions
diff --git a/src/cpu/allwinner/a10/cpu.c b/src/cpu/allwinner/a10/cpu.c
deleted file mode 100644
index 09f67662bf..0000000000
--- a/src/cpu/allwinner/a10/cpu.c
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- * This file is part of the coreboot project.
- *
- * Copyright (C) 2014 Alexandru Gagniuc <mr.nuke.me@gmail.com>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; version 2 of the License or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * Ramstage initialization for Allwinner CPUs
- *
- */
-
-#include <device/device.h>
-#include <symbols.h>
-
-static void cpu_enable_resources(struct device *dev)
-{
- ram_resource(dev, 0, (uintptr_t)_dram/KiB,
- CONFIG_DRAM_SIZE_MB << 10);
- /* TODO: Declare CBFS cache as reserved? There's no guarantee we won't
- * overwrite it. It seems to stay intact, being so high in RAM
- */
-}
-
-static void cpu_init(struct device *dev)
-{
- /* TODO: Check if anything else needs to be explicitly initialized */
-}
-
-static struct device_operations cpu_ops = {
- .read_resources = DEVICE_NOOP,
- .set_resources = DEVICE_NOOP,
- .enable_resources = cpu_enable_resources,
- .init = cpu_init,
- .scan_bus = NULL,
-};
-
-static void a1x_cpu_enable_dev(struct device *dev)
-{
- dev->ops = &cpu_ops;
-}
-
-struct chip_operations cpu_allwinner_a10_ops = {
- CHIP_NAME("CPU Allwinner A10")
- .enable_dev = a1x_cpu_enable_dev,
-};