arm: K3: Add initial support for TI's K3 generation of SoCs
Add support for Texas Instruments' K3 Generation Processor families. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
		
							parent
							
								
									7e2951160f
								
							
						
					
					
						commit
						586bde93eb
					
				
							
								
								
									
										2
									
								
								Kconfig
								
								
								
								
							
							
						
						
									
										2
									
								
								Kconfig
								
								
								
								
							|  | @ -453,7 +453,7 @@ config SYS_EXTRA_OPTIONS | ||||||
| config SYS_TEXT_BASE | config SYS_TEXT_BASE | ||||||
| 	depends on !NIOS2 && !XTENSA | 	depends on !NIOS2 && !XTENSA | ||||||
| 	depends on !EFI_APP | 	depends on !EFI_APP | ||||||
| 	default 0x80800000 if ARCH_OMAP2PLUS | 	default 0x80800000 if ARCH_OMAP2PLUS || ARCH_K3 | ||||||
| 	default 0x4a000000 if ARCH_SUNXI && !MACH_SUN9I && !MACH_SUN8I_V3S | 	default 0x4a000000 if ARCH_SUNXI && !MACH_SUN9I && !MACH_SUN8I_V3S | ||||||
| 	default 0x2a000000 if ARCH_SUNXI && MACH_SUN9I | 	default 0x2a000000 if ARCH_SUNXI && MACH_SUN9I | ||||||
| 	default 0x42e00000 if ARCH_SUNXI && MACH_SUN8I_V3S | 	default 0x42e00000 if ARCH_SUNXI && MACH_SUN8I_V3S | ||||||
|  |  | ||||||
|  | @ -272,6 +272,7 @@ M:	Tom Rini <trini@konsulko.com> | ||||||
| S:	Maintained | S:	Maintained | ||||||
| T:	git git://git.denx.de/u-boot-ti.git | T:	git git://git.denx.de/u-boot-ti.git | ||||||
| F:	arch/arm/mach-davinci/ | F:	arch/arm/mach-davinci/ | ||||||
|  | F:	arch/arm/mach-k3/ | ||||||
| F:	arch/arm/mach-keystone/ | F:	arch/arm/mach-keystone/ | ||||||
| F:	arch/arm/include/asm/arch-omap*/ | F:	arch/arm/include/asm/arch-omap*/ | ||||||
| F:	arch/arm/include/asm/ti-common/ | F:	arch/arm/include/asm/ti-common/ | ||||||
|  |  | ||||||
|  | @ -646,6 +646,12 @@ config ARCH_KEYSTONE | ||||||
| 	imply CMD_SAVES | 	imply CMD_SAVES | ||||||
| 	imply FIT | 	imply FIT | ||||||
| 
 | 
 | ||||||
|  | config ARCH_K3 | ||||||
|  | 	bool "Texas Instruments' K3 Architecture" | ||||||
|  | 	select SPL | ||||||
|  | 	select SUPPORT_SPL | ||||||
|  | 	select FIT | ||||||
|  | 
 | ||||||
| config ARCH_OMAP2PLUS | config ARCH_OMAP2PLUS | ||||||
| 	bool "TI OMAP2+" | 	bool "TI OMAP2+" | ||||||
| 	select CPU_V7A | 	select CPU_V7A | ||||||
|  | @ -1377,6 +1383,8 @@ source "arch/arm/mach-highbank/Kconfig" | ||||||
| 
 | 
 | ||||||
| source "arch/arm/mach-integrator/Kconfig" | source "arch/arm/mach-integrator/Kconfig" | ||||||
| 
 | 
 | ||||||
|  | source "arch/arm/mach-k3/Kconfig" | ||||||
|  | 
 | ||||||
| source "arch/arm/mach-keystone/Kconfig" | source "arch/arm/mach-keystone/Kconfig" | ||||||
| 
 | 
 | ||||||
| source "arch/arm/mach-kirkwood/Kconfig" | source "arch/arm/mach-kirkwood/Kconfig" | ||||||
|  |  | ||||||
|  | @ -58,6 +58,7 @@ machine-$(CONFIG_ARCH_BCMSTB)		+= bcmstb | ||||||
| machine-$(CONFIG_ARCH_DAVINCI)		+= davinci | machine-$(CONFIG_ARCH_DAVINCI)		+= davinci | ||||||
| machine-$(CONFIG_ARCH_EXYNOS)		+= exynos | machine-$(CONFIG_ARCH_EXYNOS)		+= exynos | ||||||
| machine-$(CONFIG_ARCH_HIGHBANK)		+= highbank | machine-$(CONFIG_ARCH_HIGHBANK)		+= highbank | ||||||
|  | machine-$(CONFIG_ARCH_K3)		+= k3 | ||||||
| machine-$(CONFIG_ARCH_KEYSTONE)		+= keystone | machine-$(CONFIG_ARCH_KEYSTONE)		+= keystone | ||||||
| # TODO: rename CONFIG_KIRKWOOD -> CONFIG_ARCH_KIRKWOOD
 | # TODO: rename CONFIG_KIRKWOOD -> CONFIG_ARCH_KIRKWOOD
 | ||||||
| machine-$(CONFIG_KIRKWOOD)		+= kirkwood | machine-$(CONFIG_KIRKWOOD)		+= kirkwood | ||||||
|  |  | ||||||
|  | @ -0,0 +1,12 @@ | ||||||
|  | if ARCH_K3 | ||||||
|  | 
 | ||||||
|  | choice | ||||||
|  | 	prompt "Texas Instruments' K3 based SoC select" | ||||||
|  | 	optional | ||||||
|  | 
 | ||||||
|  | endchoice | ||||||
|  | 
 | ||||||
|  | config SYS_SOC | ||||||
|  | 	default "k3" | ||||||
|  | 
 | ||||||
|  | endif | ||||||
|  | @ -171,7 +171,7 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR | ||||||
| 	default 0x140 if ARCH_MVEBU | 	default 0x140 if ARCH_MVEBU | ||||||
| 	default 0x200 if ARCH_SOCFPGA || ARCH_AT91 | 	default 0x200 if ARCH_SOCFPGA || ARCH_AT91 | ||||||
| 	default 0x300 if ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || OMAP44XX || \ | 	default 0x300 if ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || OMAP44XX || \ | ||||||
| 		         OMAP54XX || AM33XX || AM43XX | 		         OMAP54XX || AM33XX || AM43XX || ARCH_K3 | ||||||
| 	default 0x4000 if ARCH_ROCKCHIP | 	default 0x4000 if ARCH_ROCKCHIP | ||||||
| 	help | 	help | ||||||
| 	  Address on the MMC to load U-Boot from, when the MMC is being used | 	  Address on the MMC to load U-Boot from, when the MMC is being used | ||||||
|  |  | ||||||
|  | @ -628,7 +628,7 @@ config MSM_SERIAL | ||||||
| config OMAP_SERIAL | config OMAP_SERIAL | ||||||
| 	bool "Support for OMAP specific UART" | 	bool "Support for OMAP specific UART" | ||||||
| 	depends on DM_SERIAL | 	depends on DM_SERIAL | ||||||
| 	default y if ARCH_OMAP2PLUS | 	default y if (ARCH_OMAP2PLUS || ARCH_K3) | ||||||
| 	select SYS_NS16550 | 	select SYS_NS16550 | ||||||
| 	help | 	help | ||||||
| 	  If you have an TI based SoC and want to use the on-chip serial | 	  If you have an TI based SoC and want to use the on-chip serial | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue