drivers/gic: Remove unnecessary code
On AArch64 platforms, GIC initialization is generally the job of Trusted Firmware and shouldn't be necessary in coreboot. Only the ancient T210 platform (which was started before we had decided on using Trusted Firmware) calls this code, and even there they have a comment wondering "do we still need this?". I'm just gonna assume (without testing because that board is ancient and I'm lazy) that they don't, and that the TF GIC initialization[1] is sufficient here. Remove this obsolete driver. [1] https://review.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/+/3ff448/plat/nvidia/tegra/soc/t210/plat_setup.c#259 Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I3e9d90039dd27cb3a13f830ba21fc5cc7a70abe2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57818 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
parent
ee760b4be8
commit
b5e7bd2a58
9 changed files with 0 additions and 260 deletions
|
|
@ -1,26 +0,0 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
|
||||
#ifndef GIC_H
|
||||
#define GIC_H
|
||||
|
||||
#if CONFIG(GIC)
|
||||
|
||||
/* Initialize the GIC on the currently processor, including GICD and GICC. */
|
||||
void gic_init(void);
|
||||
void gic_disable(void);
|
||||
void gic_enable(void);
|
||||
|
||||
/* Return a pointer to the base of the GIC distributor mmio region. */
|
||||
void *gicd_base(void);
|
||||
|
||||
/* Return a pointer to the base of the GIC CPU mmio region. */
|
||||
void *gicc_base(void);
|
||||
|
||||
#else /* CONFIG_GIC */
|
||||
|
||||
static inline void gic_init(void) {}
|
||||
static inline void gic_disable(void) {}
|
||||
|
||||
#endif /* CONFIG_GIC */
|
||||
|
||||
#endif /* GIC_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue