diff options
author | Sam Lewis <sam.vr.lewis@gmail.com> | 2020-08-03 20:18:29 +1000 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-08-19 07:17:37 +0000 |
commit | ad7b2e23ab5954f150a4b2f62378f1e7133e56c9 (patch) | |
tree | 545ce0a7cbf0eb2aa034a45d136ac0998339741f /src/mainboard/ti | |
parent | cb287987a1750577e4471d3a474391a2c25321ab (diff) | |
download | coreboot-ad7b2e23ab5954f150a4b2f62378f1e7133e56c9.tar.gz coreboot-ad7b2e23ab5954f150a4b2f62378f1e7133e56c9.tar.bz2 coreboot-ad7b2e23ab5954f150a4b2f62378f1e7133e56c9.zip |
cpu/ti/am335x: Move from cpu to soc in tree
The AM335X is a SoC, so should be in the soc tree.
This moves all the existing am335x code to soc/ and updates any
references. It also adds a soc.c file as required for the ramstage.
Change-Id: Ic1ccb0e9b9c24a8b211b723b5f4cc26cdd0eaaab
Signed-off-by: Sam Lewis <sam.vr.lewis@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44378
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/ti')
-rw-r--r-- | src/mainboard/ti/beaglebone/Kconfig | 2 | ||||
-rw-r--r-- | src/mainboard/ti/beaglebone/bootblock.c | 6 | ||||
-rw-r--r-- | src/mainboard/ti/beaglebone/devicetree.cb | 2 | ||||
-rw-r--r-- | src/mainboard/ti/beaglebone/leds.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/ti/beaglebone/Kconfig b/src/mainboard/ti/beaglebone/Kconfig index 7399f22693db..5be310cf80f5 100644 --- a/src/mainboard/ti/beaglebone/Kconfig +++ b/src/mainboard/ti/beaglebone/Kconfig @@ -4,7 +4,7 @@ if BOARD_TI_BEAGLEBONE config BOARD_SPECIFIC_OPTIONS def_bool y - select CPU_TI_AM335X + select SOC_TI_AM335X select BOARD_ROMSIZE_KB_4096 select MISSING_BOARD_RESET diff --git a/src/mainboard/ti/beaglebone/bootblock.c b/src/mainboard/ti/beaglebone/bootblock.c index 6e9538b22926..ca1a39060dd8 100644 --- a/src/mainboard/ti/beaglebone/bootblock.c +++ b/src/mainboard/ti/beaglebone/bootblock.c @@ -3,9 +3,9 @@ #include <device/mmio.h> #include <bootblock_common.h> #include <console/uart.h> -#include <cpu/ti/am335x/clock.h> -#include <cpu/ti/am335x/gpio.h> -#include <cpu/ti/am335x/pinmux.h> +#include <soc/ti/am335x/clock.h> +#include <soc/ti/am335x/gpio.h> +#include <soc/ti/am335x/pinmux.h> #include "leds.h" diff --git a/src/mainboard/ti/beaglebone/devicetree.cb b/src/mainboard/ti/beaglebone/devicetree.cb index dd999b48703e..217a20175b33 100644 --- a/src/mainboard/ti/beaglebone/devicetree.cb +++ b/src/mainboard/ti/beaglebone/devicetree.cb @@ -1,5 +1,5 @@ ## SPDX-License-Identifier: GPL-2.0-only -chip cpu/ti/am335x +chip soc/ti/am335x device cpu_cluster 0 on end end diff --git a/src/mainboard/ti/beaglebone/leds.c b/src/mainboard/ti/beaglebone/leds.c index 99ae6d934a50..df58feaa1b05 100644 --- a/src/mainboard/ti/beaglebone/leds.c +++ b/src/mainboard/ti/beaglebone/leds.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: GPL-2.0-or-later */ #include <assert.h> -#include <cpu/ti/am335x/gpio.h> +#include <soc/ti/am335x/gpio.h> #include "leds.h" |