All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lokesh Vutla <lokeshvutla@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/8] arm: K3: Add initial support for TI's K3 generation of SoCs
Date: Mon, 27 Aug 2018 15:57:08 +0530	[thread overview]
Message-ID: <20180827102715.5700-2-lokeshvutla@ti.com> (raw)
In-Reply-To: <20180827102715.5700-1-lokeshvutla@ti.com>

Add support for Texas Instruments' K3 Generation Processor
families.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
---
 Kconfig                  |  2 +-
 MAINTAINERS              |  1 +
 arch/arm/Kconfig         |  8 ++++++++
 arch/arm/Makefile        |  1 +
 arch/arm/mach-k3/Kconfig | 12 ++++++++++++
 common/spl/Kconfig       |  2 +-
 drivers/serial/Kconfig   |  2 +-
 7 files changed, 25 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm/mach-k3/Kconfig

diff --git a/Kconfig b/Kconfig
index d96e3373c1..1aadf5dd2d 100644
--- a/Kconfig
+++ b/Kconfig
@@ -453,7 +453,7 @@ config SYS_EXTRA_OPTIONS
 config SYS_TEXT_BASE
 	depends on !NIOS2 && !XTENSA
 	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 0x2a000000 if ARCH_SUNXI && MACH_SUN9I
 	default 0x42e00000 if ARCH_SUNXI && MACH_SUN8I_V3S
diff --git a/MAINTAINERS b/MAINTAINERS
index 8f237128b2..1971197ec0 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -272,6 +272,7 @@ M:	Tom Rini <trini@konsulko.com>
 S:	Maintained
 T:	git git://git.denx.de/u-boot-ti.git
 F:	arch/arm/mach-davinci/
+F:	arch/arm/mach-k3/
 F:	arch/arm/mach-keystone/
 F:	arch/arm/include/asm/arch-omap*/
 F:	arch/arm/include/asm/ti-common/
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 9f5eaf8591..deab9581ad 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -646,6 +646,12 @@ config ARCH_KEYSTONE
 	imply CMD_SAVES
 	imply FIT
 
+config ARCH_K3
+	bool "Texas Instruments' K3 Architecture"
+	select SPL
+	select SUPPORT_SPL
+	select FIT
+
 config ARCH_OMAP2PLUS
 	bool "TI OMAP2+"
 	select CPU_V7A
@@ -1377,6 +1383,8 @@ source "arch/arm/mach-highbank/Kconfig"
 
 source "arch/arm/mach-integrator/Kconfig"
 
+source "arch/arm/mach-k3/Kconfig"
+
 source "arch/arm/mach-keystone/Kconfig"
 
 source "arch/arm/mach-kirkwood/Kconfig"
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index cac58bdc4d..cbcb357f3d 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -58,6 +58,7 @@ machine-$(CONFIG_ARCH_BCMSTB)		+= bcmstb
 machine-$(CONFIG_ARCH_DAVINCI)		+= davinci
 machine-$(CONFIG_ARCH_EXYNOS)		+= exynos
 machine-$(CONFIG_ARCH_HIGHBANK)		+= highbank
+machine-$(CONFIG_ARCH_K3)		+= k3
 machine-$(CONFIG_ARCH_KEYSTONE)		+= keystone
 # TODO: rename CONFIG_KIRKWOOD -> CONFIG_ARCH_KIRKWOOD
 machine-$(CONFIG_KIRKWOOD)		+= kirkwood
diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig
new file mode 100644
index 0000000000..552b84923e
--- /dev/null
+++ b/arch/arm/mach-k3/Kconfig
@@ -0,0 +1,12 @@
+if ARCH_K3
+
+choice
+	prompt "Texas Instruments' K3 based SoC select"
+	optional
+
+endchoice
+
+config SYS_SOC
+	default "k3"
+
+endif
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index b44b7412fd..79bdfe27a0 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -171,7 +171,7 @@ config SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR
 	default 0x140 if ARCH_MVEBU
 	default 0x200 if ARCH_SOCFPGA || ARCH_AT91
 	default 0x300 if ARCH_ZYNQ || ARCH_KEYSTONE || OMAP34XX || OMAP44XX || \
-		         OMAP54XX || AM33XX || AM43XX
+		         OMAP54XX || AM33XX || AM43XX || ARCH_K3
 	default 0x4000 if ARCH_ROCKCHIP
 	help
 	  Address on the MMC to load U-Boot from, when the MMC is being used
diff --git a/drivers/serial/Kconfig b/drivers/serial/Kconfig
index 0aa2338135..5e3edc2868 100644
--- a/drivers/serial/Kconfig
+++ b/drivers/serial/Kconfig
@@ -628,7 +628,7 @@ config MSM_SERIAL
 config OMAP_SERIAL
 	bool "Support for OMAP specific UART"
 	depends on DM_SERIAL
-	default y if ARCH_OMAP2PLUS
+	default y if (ARCH_OMAP2PLUS || ARCH_K3)
 	select SYS_NS16550
 	help
 	  If you have an TI based SoC and want to use the on-chip serial
-- 
2.18.0

  reply	other threads:[~2018-08-27 10:27 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-27 10:27 [U-Boot] [PATCH v2 0/8] [1/3] Initial support Texas Instrument's AM654 Platform Lokesh Vutla
2018-08-27 10:27 ` Lokesh Vutla [this message]
2018-08-27 14:12   ` [U-Boot] [PATCH v2 1/8] arm: K3: Add initial support for TI's K3 generation of SoCs Tom Rini
2018-09-12  0:40   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-08-27 10:27 ` [U-Boot] [PATCH v2 2/8] arm: K3: Add support for AM654 SoC definition Lokesh Vutla
2018-08-27 14:12   ` Tom Rini
2018-09-12  0:40   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-08-27 10:27 ` [U-Boot] [PATCH v2 3/8] arm: K3: Update _start instruction Lokesh Vutla
2018-09-12  0:40   ` [U-Boot] [U-Boot,v2,3/8] " Tom Rini
2018-08-27 10:27 ` [U-Boot] [PATCH v2 4/8] arm: K3: am654: Add support for boot device detection Lokesh Vutla
2018-08-27 14:12   ` Tom Rini
2018-09-12  0:40   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-08-27 10:27 ` [U-Boot] [PATCH v2 5/8] arm: K3: am654: Unlock control module registers during init Lokesh Vutla
2018-09-12  0:40   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-08-27 10:27 ` [U-Boot] [PATCH v2 6/8] armv8: K3: am654: Add custom MMU support Lokesh Vutla
2018-09-12  0:40   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-08-27 10:27 ` [U-Boot] [PATCH v2 7/8] armv8: K3: am654: Introduce FIT generator script Lokesh Vutla
2018-08-27 14:12   ` Tom Rini
2018-09-12  0:40   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-08-27 10:27 ` [U-Boot] [PATCH v2 8/8] armv8: K3: am654: Add support for generating build targets Lokesh Vutla
2018-09-12  0:40   ` [U-Boot] [U-Boot, v2, " Tom Rini
2018-08-27 14:08 ` [U-Boot] [PATCH v2 0/8] [1/3] Initial support Texas Instrument's AM654 Platform Lokesh Vutla

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180827102715.5700-2-lokeshvutla@ti.com \
    --to=lokeshvutla@ti.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.