• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版80b93bb71cfff8b0ba9bbb5704231216f7518998 (tree)
时间2022-07-26 02:02:04
作者Andrew Davis <afd@ti.c...>
CommiterTom Rini

Log Message

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>

更改概述

差异

--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -1194,7 +1194,7 @@ dtb-$(CONFIG_STM32MP15x) += \
11941194 stm32mp15xx-dhcor-avenger96.dtb \
11951195 stm32mp15xx-dhcor-drc-compact.dtb
11961196
1197-dtb-$(CONFIG_SOC_K3_AM6) += \
1197+dtb-$(CONFIG_SOC_K3_AM654) += \
11981198 k3-am654-base-board.dtb \
11991199 k3-am654-r5-base-board.dtb \
12001200 k3-am65-iot2050-spl.dtb \
--- a/arch/arm/mach-k3/Kconfig
+++ b/arch/arm/mach-k3/Kconfig
@@ -4,8 +4,8 @@ choice
44 prompt "Texas Instruments' K3 based SoC select"
55 optional
66
7-config SOC_K3_AM6
8- bool "TI's K3 based AM6 SoC Family Support"
7+config SOC_K3_AM654
8+ bool "TI's K3 based AM654 SoC Family Support"
99
1010 config SOC_K3_J721E
1111 bool "TI's K3 based J721E SoC Family Support"
@@ -26,7 +26,7 @@ config SYS_SOC
2626
2727 config SYS_K3_NON_SECURE_MSRAM_SIZE
2828 hex
29- default 0x80000 if SOC_K3_AM6
29+ default 0x80000 if SOC_K3_AM654
3030 default 0x100000 if SOC_K3_J721E || SOC_K3_J721S2
3131 default 0x1c0000 if SOC_K3_AM642
3232 default 0x3c000 if SOC_K3_AM625
@@ -38,7 +38,7 @@ config SYS_K3_NON_SECURE_MSRAM_SIZE
3838
3939 config SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
4040 hex
41- default 0x58000 if SOC_K3_AM6
41+ default 0x58000 if SOC_K3_AM654
4242 default 0xc0000 if SOC_K3_J721E || SOC_K3_J721S2
4343 default 0x180000 if SOC_K3_AM642
4444 default 0x38000 if SOC_K3_AM625
@@ -48,21 +48,21 @@ config SYS_K3_MAX_DOWNLODABLE_IMAGE_SIZE
4848
4949 config SYS_K3_MCU_SCRATCHPAD_BASE
5050 hex
51- default 0x40280000 if SOC_K3_AM6
51+ default 0x40280000 if SOC_K3_AM654
5252 default 0x40280000 if SOC_K3_J721E || SOC_K3_J721S2
5353 help
5454 Describes the base address of MCU Scratchpad RAM.
5555
5656 config SYS_K3_MCU_SCRATCHPAD_SIZE
5757 hex
58- default 0x200 if SOC_K3_AM6
58+ default 0x200 if SOC_K3_AM654
5959 default 0x200 if SOC_K3_J721E || SOC_K3_J721S2
6060 help
6161 Describes the size of MCU Scratchpad RAM.
6262
6363 config SYS_K3_BOOT_PARAM_TABLE_INDEX
6464 hex
65- default 0x41c7fbfc if SOC_K3_AM6
65+ default 0x41c7fbfc if SOC_K3_AM654
6666 default 0x41cffbfc if SOC_K3_J721E
6767 default 0x41cfdbfc if SOC_K3_J721S2
6868 default 0x701bebfc if SOC_K3_AM642
--- a/arch/arm/mach-k3/Makefile
+++ b/arch/arm/mach-k3/Makefile
@@ -11,7 +11,7 @@ obj-$(CONFIG_CPU_V7R) += r5_mpu.o lowlevel_init.o
1111 obj-$(CONFIG_TI_SECURE_DEVICE) += security.o
1212 obj-$(CONFIG_ARM64) += cache.o
1313 ifeq ($(CONFIG_SPL_BUILD),y)
14-obj-$(CONFIG_SOC_K3_AM6) += am6_init.o
14+obj-$(CONFIG_SOC_K3_AM654) += am654_init.o
1515 obj-$(CONFIG_SOC_K3_J721E) += j721e_init.o
1616 obj-$(CONFIG_SOC_K3_J721S2) += j721s2_init.o
1717 obj-$(CONFIG_SOC_K3_AM642) += am642_init.o
--- a/arch/arm/mach-k3/arm64-mmu.c
+++ b/arch/arm/mach-k3/arm64-mmu.c
@@ -13,7 +13,7 @@
1313 #include <asm/system.h>
1414 #include <asm/armv8/mmu.h>
1515
16-#ifdef CONFIG_SOC_K3_AM6
16+#ifdef CONFIG_SOC_K3_AM654
1717 /* NR_DRAM_BANKS + 32bit IO + 64bit IO + terminator */
1818 #define NR_MMU_REGIONS (CONFIG_NR_DRAM_BANKS + 5)
1919
@@ -64,7 +64,7 @@ struct mm_region am654_mem_map[NR_MMU_REGIONS] = {
6464 };
6565
6666 struct mm_region *mem_map = am654_mem_map;
67-#endif /* CONFIG_SOC_K3_AM6 */
67+#endif /* CONFIG_SOC_K3_AM654 */
6868
6969 #ifdef CONFIG_SOC_K3_J721E
7070
--- a/arch/arm/mach-k3/include/mach/hardware.h
+++ b/arch/arm/mach-k3/include/mach/hardware.h
@@ -6,7 +6,7 @@
66 #ifndef _ASM_ARCH_HARDWARE_H_
77 #define _ASM_ARCH_HARDWARE_H_
88
9-#ifdef CONFIG_SOC_K3_AM6
9+#ifdef CONFIG_SOC_K3_AM654
1010 #include "am6_hardware.h"
1111 #endif
1212
--- a/arch/arm/mach-k3/include/mach/spl.h
+++ b/arch/arm/mach-k3/include/mach/spl.h
@@ -6,7 +6,7 @@
66 #ifndef _ASM_ARCH_SPL_H_
77 #define _ASM_ARCH_SPL_H_
88
9-#ifdef CONFIG_SOC_K3_AM6
9+#ifdef CONFIG_SOC_K3_AM654
1010 #include "am6_spl.h"
1111 #endif
1212
--- a/board/siemens/iot2050/Kconfig
+++ b/board/siemens/iot2050/Kconfig
@@ -9,7 +9,7 @@
99 config TARGET_IOT2050_A53
1010 bool "IOT2050 running on A53"
1111 select ARM64
12- select SOC_K3_AM6
12+ select SOC_K3_AM654
1313 select BOARD_LATE_INIT
1414 select SYS_DISABLE_DCACHE_OPS
1515 select BINMAN
--- a/board/ti/am65x/Kconfig
+++ b/board/ti/am65x/Kconfig
@@ -10,7 +10,7 @@ choice
1010 config TARGET_AM654_A53_EVM
1111 bool "TI K3 based AM654 EVM running on A53"
1212 select ARM64
13- select SOC_K3_AM6
13+ select SOC_K3_AM654
1414 select SYS_DISABLE_DCACHE_OPS
1515 select BOARD_LATE_INIT
1616 imply TI_I2C_BOARD_DETECT
@@ -19,7 +19,7 @@ config TARGET_AM654_R5_EVM
1919 bool "TI K3 based AM654 EVM running on R5"
2020 select CPU_V7R
2121 select SYS_THUMB_BUILD
22- select SOC_K3_AM6
22+ select SOC_K3_AM654
2323 select K3_LOAD_SYSFW
2424 select K3_AM654_DDRSS
2525 imply SYS_K3_SPL_ATF
--- a/configs/am65x_evm_a53_defconfig
+++ b/configs/am65x_evm_a53_defconfig
@@ -6,7 +6,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x8000
66 CONFIG_SPL_LIBCOMMON_SUPPORT=y
77 CONFIG_SPL_LIBGENERIC_SUPPORT=y
88 CONFIG_NR_DRAM_BANKS=2
9-CONFIG_SOC_K3_AM6=y
9+CONFIG_SOC_K3_AM654=y
1010 CONFIG_TARGET_AM654_A53_EVM=y
1111 CONFIG_ENV_SIZE=0x20000
1212 CONFIG_ENV_OFFSET=0x680000
--- a/configs/am65x_evm_r5_defconfig
+++ b/configs/am65x_evm_r5_defconfig
@@ -6,7 +6,7 @@ CONFIG_SPL_GPIO=y
66 CONFIG_SPL_LIBCOMMON_SUPPORT=y
77 CONFIG_SPL_LIBGENERIC_SUPPORT=y
88 CONFIG_NR_DRAM_BANKS=2
9-CONFIG_SOC_K3_AM6=y
9+CONFIG_SOC_K3_AM654=y
1010 CONFIG_K3_EARLY_CONS=y
1111 CONFIG_TARGET_AM654_R5_EVM=y
1212 CONFIG_ENV_SIZE=0x20000
--- a/configs/am65x_evm_r5_usbdfu_defconfig
+++ b/configs/am65x_evm_r5_usbdfu_defconfig
@@ -7,7 +7,7 @@ CONFIG_SPL_MISC=y
77 CONFIG_SPL_LIBCOMMON_SUPPORT=y
88 CONFIG_SPL_LIBGENERIC_SUPPORT=y
99 CONFIG_NR_DRAM_BANKS=2
10-CONFIG_SOC_K3_AM6=y
10+CONFIG_SOC_K3_AM654=y
1111 CONFIG_K3_EARLY_CONS=y
1212 CONFIG_TARGET_AM654_R5_EVM=y
1313 CONFIG_ENV_SIZE=0x20000
--- a/configs/am65x_evm_r5_usbmsc_defconfig
+++ b/configs/am65x_evm_r5_usbmsc_defconfig
@@ -6,7 +6,7 @@ CONFIG_SPL_GPIO=y
66 CONFIG_SPL_LIBCOMMON_SUPPORT=y
77 CONFIG_SPL_LIBGENERIC_SUPPORT=y
88 CONFIG_NR_DRAM_BANKS=2
9-CONFIG_SOC_K3_AM6=y
9+CONFIG_SOC_K3_AM654=y
1010 CONFIG_K3_EARLY_CONS=y
1111 CONFIG_TARGET_AM654_R5_EVM=y
1212 CONFIG_ENV_SIZE=0x20000
--- a/configs/am65x_hs_evm_a53_defconfig
+++ b/configs/am65x_hs_evm_a53_defconfig
@@ -7,7 +7,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x8000
77 CONFIG_SPL_LIBCOMMON_SUPPORT=y
88 CONFIG_SPL_LIBGENERIC_SUPPORT=y
99 CONFIG_NR_DRAM_BANKS=2
10-CONFIG_SOC_K3_AM6=y
10+CONFIG_SOC_K3_AM654=y
1111 CONFIG_TARGET_AM654_A53_EVM=y
1212 CONFIG_ENV_SIZE=0x20000
1313 CONFIG_ENV_OFFSET=0x680000
--- a/configs/am65x_hs_evm_r5_defconfig
+++ b/configs/am65x_hs_evm_r5_defconfig
@@ -7,7 +7,7 @@ CONFIG_SPL_GPIO=y
77 CONFIG_SPL_LIBCOMMON_SUPPORT=y
88 CONFIG_SPL_LIBGENERIC_SUPPORT=y
99 CONFIG_NR_DRAM_BANKS=2
10-CONFIG_SOC_K3_AM6=y
10+CONFIG_SOC_K3_AM654=y
1111 CONFIG_K3_EARLY_CONS=y
1212 CONFIG_TARGET_AM654_R5_EVM=y
1313 CONFIG_ENV_SIZE=0x20000
--- a/configs/iot2050_defconfig
+++ b/configs/iot2050_defconfig
@@ -7,7 +7,7 @@ CONFIG_SPL_GPIO=y
77 CONFIG_SPL_LIBCOMMON_SUPPORT=y
88 CONFIG_SPL_LIBGENERIC_SUPPORT=y
99 CONFIG_NR_DRAM_BANKS=2
10-CONFIG_SOC_K3_AM6=y
10+CONFIG_SOC_K3_AM654=y
1111 CONFIG_TARGET_IOT2050_A53=y
1212 CONFIG_ENV_SIZE=0x20000
1313 CONFIG_ENV_OFFSET=0x680000
--- a/drivers/dma/ti/Makefile
+++ b/drivers/dma/ti/Makefile
@@ -3,7 +3,7 @@
33 obj-$(CONFIG_TI_K3_NAVSS_UDMA) += k3-udma.o
44 obj-$(CONFIG_TI_K3_PSIL) += k3-psil-data.o
55 k3-psil-data-y += k3-psil.o
6-k3-psil-data-$(CONFIG_SOC_K3_AM6) += k3-psil-am654.o
6+k3-psil-data-$(CONFIG_SOC_K3_AM654) += k3-psil-am654.o
77 k3-psil-data-$(CONFIG_SOC_K3_J721E) += k3-psil-j721e.o
88 k3-psil-data-$(CONFIG_SOC_K3_J721S2) += k3-psil-j721s2.o
99 k3-psil-data-$(CONFIG_SOC_K3_AM642) += k3-psil-am64.o
--- a/drivers/dma/ti/k3-psil.c
+++ b/drivers/dma/ti/k3-psil.c
@@ -16,7 +16,7 @@ struct psil_endpoint_config *psil_get_ep_config(u32 thread_id)
1616 int i;
1717
1818 if (!soc_ep_map) {
19- if (IS_ENABLED(CONFIG_SOC_K3_AM6))
19+ if (IS_ENABLED(CONFIG_SOC_K3_AM654))
2020 soc_ep_map = &am654_ep_map;
2121 else if (IS_ENABLED(CONFIG_SOC_K3_J721E))
2222 soc_ep_map = &j721e_ep_map;
--- a/drivers/ram/Kconfig
+++ b/drivers/ram/Kconfig
@@ -45,7 +45,7 @@ config MPC83XX_SDRAM
4545
4646 config K3_AM654_DDRSS
4747 bool "Enable AM654 DDRSS support"
48- depends on RAM && SOC_K3_AM6
48+ depends on RAM && SOC_K3_AM654
4949 help
5050 K3 based AM654 devices has DDR memory subsystem that comprises
5151 Synopys DDR controller, Synopsis DDR phy and wrapper logic to