public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Lokesh Vutla <lokeshvutla-l0cyMroinI0@public.gmane.org>
To: Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>,
	Linux OMAP Mailing List
	<linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Cc: Tero Kristo <t-kristo-l0cyMroinI0@public.gmane.org>,
	Sekhar Nori <nsekhar-l0cyMroinI0@public.gmane.org>,
	Device Tree Mailing List
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Vignesh R <vigneshr-l0cyMroinI0@public.gmane.org>,
	Keerthy <j-keerthy-l0cyMroinI0@public.gmane.org>,
	Praneeth Bajjuri <praneeth-l0cyMroinI0@public.gmane.org>,
	Lokesh Vutla <lokeshvutla-l0cyMroinI0@public.gmane.org>
Subject: [PATCH 4/8] ARM: dra76: Enable SMP for dra76
Date: Wed, 19 Jul 2017 01:24:59 +0530	[thread overview]
Message-ID: <20170718195503.1700-5-lokeshvutla@ti.com> (raw)
In-Reply-To: <20170718195503.1700-1-lokeshvutla-l0cyMroinI0@public.gmane.org>

smp specific routines are called based on soc_is_*() api in omap-smc.c.
Add soc_is_dra76x() to the condition so that smp specific routines are
called for dra76 SoC.

Signed-off-by: Lokesh Vutla <lokeshvutla-l0cyMroinI0@public.gmane.org>
---
 arch/arm/mach-omap2/omap-smp.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/mach-omap2/omap-smp.c b/arch/arm/mach-omap2/omap-smp.c
index 33e4953c61a8..69df3620eca5 100644
--- a/arch/arm/mach-omap2/omap-smp.c
+++ b/arch/arm/mach-omap2/omap-smp.c
@@ -342,7 +342,7 @@ static void __init omap4_smp_prepare_cpus(unsigned int max_cpus)
 		c = &omap443x_cfg;
 	else if (soc_is_omap446x())
 		c = &omap446x_cfg;
-	else if (soc_is_dra74x() || soc_is_omap54xx())
+	else if (soc_is_dra74x() || soc_is_omap54xx() || soc_is_dra76x())
 		c = &omap5_cfg;
 
 	if (!c) {
@@ -355,7 +355,7 @@ static void __init omap4_smp_prepare_cpus(unsigned int max_cpus)
 	cfg.startup_addr = c->startup_addr;
 	cfg.wakeupgen_base = omap_get_wakeupgen_base();
 
-	if (soc_is_dra74x() || soc_is_omap54xx()) {
+	if (soc_is_dra74x() || soc_is_omap54xx() || soc_is_dra76x()) {
 		if ((__boot_cpu_mode & MODE_MASK) == HYP_MODE)
 			cfg.startup_addr = omap5_secondary_hyp_startup;
 		omap5_erratum_workaround_801819();
-- 
2.13.0

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2017-07-18 19:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-18 19:54 [PATCH 0/8] ARM: dra7: Add support for dra76-evm Lokesh Vutla
     [not found] ` <20170718195503.1700-1-lokeshvutla-l0cyMroinI0@public.gmane.org>
2017-07-18 19:54   ` [PATCH 1/8] ARM: OMAP2+: board-generic: add support for dra76x family Lokesh Vutla
     [not found]     ` <20170718195503.1700-2-lokeshvutla-l0cyMroinI0@public.gmane.org>
2017-07-24 19:02       ` Rob Herring
2017-07-25  6:40         ` Lokesh Vutla
     [not found]           ` <5fcdf90c-4630-0834-ff09-46339dce90f6-l0cyMroinI0@public.gmane.org>
2017-07-30 11:19             ` Lokesh Vutla
     [not found]               ` <f0d5b151-c699-c683-97ce-d6689135e3ac-l0cyMroinI0@public.gmane.org>
2017-08-11 15:42                 ` Tony Lindgren
2017-07-18 19:54   ` [PATCH 2/8] ARM: dra76: Add support for device identification Lokesh Vutla
2017-07-18 19:54   ` [PATCH 3/8] ARM: dra7: hwmod: Register dra76x specific hwmod Lokesh Vutla
2017-07-18 19:54   ` Lokesh Vutla [this message]
2017-07-18 19:55   ` [PATCH 5/8] ARM: OMAP: dra7: powerdomain data: Register SoC specific powerdomains Lokesh Vutla
2017-07-18 19:55   ` [PATCH 6/8] ARM: omap2plus_defconfig: Enable LP87565 Lokesh Vutla
2017-07-18 19:55   ` [PATCH 7/8] ARM: dts: Add support for dra76x family of devices Lokesh Vutla
2017-07-18 19:55   ` [PATCH 8/8] ARM: dts: Add support for dra76-evm Lokesh Vutla
     [not found]     ` <20170718195503.1700-9-lokeshvutla-l0cyMroinI0@public.gmane.org>
2017-07-24 10:30       ` 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=20170718195503.1700-5-lokeshvutla@ti.com \
    --to=lokeshvutla-l0cymroini0@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=j-keerthy-l0cyMroinI0@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=nsekhar-l0cyMroinI0@public.gmane.org \
    --cc=praneeth-l0cyMroinI0@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=t-kristo-l0cyMroinI0@public.gmane.org \
    --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org \
    --cc=vigneshr-l0cyMroinI0@public.gmane.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox