From: Suman Anna <s-anna@ti.com>
To: u-boot@lists.denx.de
Subject: [PATCH v2 08/18] arm: mach-k3: j721e: Fix unlocking control module registers
Date: Mon, 27 Jul 2020 12:19:36 -0500 [thread overview]
Message-ID: <f68ba588-aaaf-3018-a1b9-e2f4ebaa2841@ti.com> (raw)
In-Reply-To: <20200727094543.28484-9-lokeshvutla@ti.com>
On 7/27/20 4:45 AM, Lokesh Vutla wrote:
> In main control mmr there is no partition 4 and partition 6 is available
> only on J721e. Fix the same in ctrl_mmr_unlock function
>
> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Suman Anna <s-anna@ti.com>
> ---
> arch/arm/mach-k3/j721e_init.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-k3/j721e_init.c b/arch/arm/mach-k3/j721e_init.c
> index 3b15da2d7c..63a31c18ce 100644
> --- a/arch/arm/mach-k3/j721e_init.c
> +++ b/arch/arm/mach-k3/j721e_init.c
> @@ -87,9 +87,9 @@ static void ctrl_mmr_unlock(void)
> mmr_unlock(CTRL_MMR0_BASE, 1);
> mmr_unlock(CTRL_MMR0_BASE, 2);
> mmr_unlock(CTRL_MMR0_BASE, 3);
> - mmr_unlock(CTRL_MMR0_BASE, 4);
> mmr_unlock(CTRL_MMR0_BASE, 5);
> - mmr_unlock(CTRL_MMR0_BASE, 6);
> + if (soc_is_j721e())
> + mmr_unlock(CTRL_MMR0_BASE, 6);
> mmr_unlock(CTRL_MMR0_BASE, 7);
> }
>
>
next prev parent reply other threads:[~2020-07-27 17:19 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-27 9:45 [PATCH v2 00/18] arm: mach-k3: Initial support for Texas Instrument's J7200 Platform Lokesh Vutla
2020-07-27 9:45 ` [PATCH v2 01/18] board: ti: board_detect: Add stub functions for EEPROM detection apis Lokesh Vutla
2020-07-27 9:45 ` [PATCH v2 02/18] board: ti: j721e: Probe eeprom only when CONFIG_TI_I2C_BOARD_DETECT is defined Lokesh Vutla
2020-07-27 9:45 ` [PATCH v2 03/18] board: ti: j721e: Update fdt fixup logic for interconnect nodes Lokesh Vutla
2020-07-27 9:45 ` [PATCH v2 04/18] arm: mach-k3: Fix platform hang when SPL_MULTI_DTB_FIT is not enabled Lokesh Vutla
2020-07-27 9:45 ` [PATCH v2 05/18] arm: mach-k3: Move mmr_unlock to a common location Lokesh Vutla
2020-07-27 17:12 ` Suman Anna
2020-07-27 9:45 ` [PATCH v2 06/18] arm: mach-k3: sysfw-loader: Add support for rom loading sysfw image Lokesh Vutla
2020-07-27 17:17 ` Suman Anna
2020-07-29 2:35 ` Lokesh Vutla
2020-07-27 9:45 ` [PATCH v2 07/18] arm: mach-k3: j721e: Add detection for j721e Lokesh Vutla
2020-07-27 9:45 ` [PATCH v2 08/18] arm: mach-k3: j721e: Fix unlocking control module registers Lokesh Vutla
2020-07-27 17:19 ` Suman Anna [this message]
2020-07-27 9:45 ` [PATCH v2 09/18] arm: mach-k3: j7200: Add support for SOC detection Lokesh Vutla
2020-07-27 9:45 ` [PATCH v2 10/18] arm: mach-k3: j7200: Add support for storing extended boot info from ROM Lokesh Vutla
2020-07-27 17:34 ` Suman Anna
2020-07-27 9:45 ` [PATCH v2 11/18] arm: mach-k3: j7200: Detect if ROM has already loaded sysfw Lokesh Vutla
2020-07-27 17:36 ` Suman Anna
2020-07-27 9:45 ` [PATCH v2 12/18] board: ti: j7200: Introduce support for j7200 build targets Lokesh Vutla
2020-08-05 8:50 ` Vignesh Raghavendra
2020-08-05 14:00 ` Lokesh Vutla
2020-07-27 9:45 ` [PATCH v2 13/18] board: ti: j7200: Add board detection support for j7200 Lokesh Vutla
2020-07-27 17:38 ` Suman Anna
2020-07-27 9:45 ` [PATCH v2 14/18] ram: k3-j721e: Relax version checks for memory controller Lokesh Vutla
2020-07-27 9:45 ` [PATCH v2 15/18] arm: dts: k3-j7200: Add dts support Lokesh Vutla
2020-08-04 14:11 ` Vignesh Raghavendra
2020-07-27 9:45 ` [PATCH v2 16/18] arm: dts: k3-j7200: Add R5 specific " Lokesh Vutla
2020-07-27 9:45 ` [PATCH v2 17/18] configs: j7200_evm_r5: Add initial support Lokesh Vutla
2020-07-27 9:45 ` [PATCH v2 18/18] configs: j7200_evm_a72: Add Initial support Lokesh Vutla
2020-08-04 15:25 ` Vignesh Raghavendra
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=f68ba588-aaaf-3018-a1b9-e2f4ebaa2841@ti.com \
--to=s-anna@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox