arm: mach-k3: Rename SOC_K3_AM6 to SOC_K3_AM654
The first AM6x device was the AM654x, but being the first we named it just AM6, since more devices have come out with this same prefix we should switch it to the normal convention of using the full name of the first compatibility device the series. This makes what device we are talking about more clear and matches all the K3 devices added since. Signed-off-by: Andrew Davis <afd@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -1194,7 +1194,7 @@ dtb-$(CONFIG_STM32MP15x) += \
|
||||
stm32mp15xx-dhcor-avenger96.dtb \
|
||||
stm32mp15xx-dhcor-drc-compact.dtb
|
||||
|
||||
dtb-$(CONFIG_SOC_K3_AM6) += \
|
||||
dtb-$(CONFIG_SOC_K3_AM654) += \
|
||||
k3-am654-base-board.dtb \
|
||||
k3-am654-r5-base-board.dtb \
|
||||
k3-am65-iot2050-spl.dtb \
|
||||
|
||||
@@ -4,8 +4,8 @@ choice
|
||||
prompt "Texas Instruments' K3 based SoC select"
|
||||
optional
|
||||
|
||||
config SOC_K3_AM6
|
||||
bool "TI's K3 based AM6 SoC Family Support"
|
||||
config SOC_K3_AM654
|
||||
bool "TI's K3 based AM654 SoC Family Support"
|
||||
|
||||
config SOC_K3_J721E
|
||||
bool "TI's K3 based J721E SoC Family Support"
|
||||
@@ -26,7 +26,7 @@ config SYS_SOC
|
||||
|
||||
config SYS_K3_NON_SECURE_MSRAM_SIZE
|
||||
hex
|
||||
default 0x80000 if SOC_K3_AM6
|
||||
default 0x80000 if SOC_K3_AM654
|
||||
default 0x100000 if SOC_K3_J721E || SOC_K3_J721S2
|
||||
default 0x1c0000 if SOC_K3_AM642
|
||||
default 0x3c000 if SOC_K3_AM625
|
||||
@@ -38,7 +38,7 @@ config SYS_K3_NON_SECURE_MSRAM_SIZE
|
||||
|
||||
config SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
|
||||
hex
|
||||
default 0x58000 if SOC_K3_AM6
|
||||
default 0x58000 if SOC_K3_AM654
|
||||
default 0xc0000 if SOC_K3_J721E || SOC_K3_J721S2
|
||||
default 0x180000 if SOC_K3_AM642
|
||||
default 0x38000 if SOC_K3_AM625
|
||||
@@ -48,21 +48,21 @@ config SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
|
||||
|
||||
config SYS_K3_MCU_SCRATCHPAD_BASE
|
||||
hex
|
||||
default 0x40280000 if SOC_K3_AM6
|
||||
default 0x40280000 if SOC_K3_AM654
|
||||
default 0x40280000 if SOC_K3_J721E || SOC_K3_J721S2
|
||||
help
|
||||
Describes the base address of MCU Scratchpad RAM.
|
||||
|
||||
config SYS_K3_MCU_SCRATCHPAD_SIZE
|
||||
hex
|
||||
default 0x200 if SOC_K3_AM6
|
||||
default 0x200 if SOC_K3_AM654
|
||||
default 0x200 if SOC_K3_J721E || SOC_K3_J721S2
|
||||
help
|
||||
Describes the size of MCU Scratchpad RAM.
|
||||
|
||||
config SYS_K3_BOOT_PARAM_TABLE_INDEX
|
||||
hex
|
||||
default 0x41c7fbfc if SOC_K3_AM6
|
||||
default 0x41c7fbfc if SOC_K3_AM654
|
||||
default 0x41cffbfc if SOC_K3_J721E
|
||||
default 0x41cfdbfc if SOC_K3_J721S2
|
||||
default 0x701bebfc if SOC_K3_AM642
|
||||
|
||||
@@ -11,7 +11,7 @@ obj-$(CONFIG_CPU_V7R) += r5_mpu.o lowlevel_init.o
|
||||
obj-$(CONFIG_TI_SECURE_DEVICE) += security.o
|
||||
obj-$(CONFIG_ARM64) += cache.o
|
||||
ifeq ($(CONFIG_SPL_BUILD),y)
|
||||
obj-$(CONFIG_SOC_K3_AM6) += am6_init.o
|
||||
obj-$(CONFIG_SOC_K3_AM654) += am654_init.o
|
||||
obj-$(CONFIG_SOC_K3_J721E) += j721e_init.o
|
||||
obj-$(CONFIG_SOC_K3_J721S2) += j721s2_init.o
|
||||
obj-$(CONFIG_SOC_K3_AM642) += am642_init.o
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include <asm/system.h>
|
||||
#include <asm/armv8/mmu.h>
|
||||
|
||||
#ifdef CONFIG_SOC_K3_AM6
|
||||
#ifdef CONFIG_SOC_K3_AM654
|
||||
/* NR_DRAM_BANKS + 32bit IO + 64bit IO + terminator */
|
||||
#define NR_MMU_REGIONS (CONFIG_NR_DRAM_BANKS + 5)
|
||||
|
||||
@@ -64,7 +64,7 @@ struct mm_region am654_mem_map[NR_MMU_REGIONS] = {
|
||||
};
|
||||
|
||||
struct mm_region *mem_map = am654_mem_map;
|
||||
#endif /* CONFIG_SOC_K3_AM6 */
|
||||
#endif /* CONFIG_SOC_K3_AM654 */
|
||||
|
||||
#ifdef CONFIG_SOC_K3_J721E
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#ifndef _ASM_ARCH_HARDWARE_H_
|
||||
#define _ASM_ARCH_HARDWARE_H_
|
||||
|
||||
#ifdef CONFIG_SOC_K3_AM6
|
||||
#ifdef CONFIG_SOC_K3_AM654
|
||||
#include "am6_hardware.h"
|
||||
#endif
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#ifndef _ASM_ARCH_SPL_H_
|
||||
#define _ASM_ARCH_SPL_H_
|
||||
|
||||
#ifdef CONFIG_SOC_K3_AM6
|
||||
#ifdef CONFIG_SOC_K3_AM654
|
||||
#include "am6_spl.h"
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user