All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manorit Chawdhry <m-chawdhry@ti.com>
To: <u-boot@lists.denx.de>
Cc: Andrew Davis <afd@ti.com>, Manorit Chawdhry <m-chawdhry@ti.com>,
	Vignesh Raghavendra <vigneshr@ti.com>,
	Neha Francis <n-francis@ti.com>,
	Jayesh Choudhary <j-choudhary@ti.com>,
	Tom Rini <trini@konsulko.com>, Judith Mendez <jm@ti.com>,
	Kamlesh Gurudasani <kamlesh@ti.com>
Subject: [PATCH v5 4/4] arm: mach-k3: Increase SYSFW max image size
Date: Wed, 15 Mar 2023 12:17:24 +0530	[thread overview]
Message-ID: <20230315064724.60474-5-m-chawdhry@ti.com> (raw)
In-Reply-To: <20230315064724.60474-1-m-chawdhry@ti.com>

From: Dave Gerlach <d-gerlach@ti.com>

When booting with HS silicon, the system firmware image is 278270, which
is slightly larger than currently allocated amount.

This can cause unexpected behavior if this overlap interferes with other
things in memory, so increase this with a slightly margin added as well
to avoid any boot issues that can appear after system firmware gets
loaded.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Tero Kristo <kristo@kernel.org>
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
---
 arch/arm/mach-k3/Kconfig | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/mach-k3/Kconfig b/arch/arm/mach-k3/Kconfig
index 0991b42423a0..bae0a827c29f 100644
--- a/arch/arm/mach-k3/Kconfig
+++ b/arch/arm/mach-k3/Kconfig
@@ -141,8 +141,7 @@ config K3_SYSFW_IMAGE_MMCSD_RAW_MODE_PART
 config K3_SYSFW_IMAGE_SIZE_MAX
 	int "Amount of memory dynamically allocated for loading SYSFW blob"
 	depends on K3_LOAD_SYSFW
-	default 163840 if SOC_K3_AM625 || SOC_K3_AM62A7
-	default	278000
+	default	280000
 	help
 	  Amount of memory (in bytes) reserved through dynamic allocation at
 	  runtime for loading the combined System Firmware and configuration image
-- 
2.34.1


      parent reply	other threads:[~2023-03-15  6:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-15  6:47 [PATCH v5 0/4] J721E HS Fixes Manorit Chawdhry
2023-03-15  6:47 ` [PATCH v5 1/4] arm: k3: config.mk: Add missing dependencies on tispl.bin HS Manorit Chawdhry
2023-03-15  6:47 ` [PATCH v5 2/4] configs: j721e: Merge the HS and non-HS defconfigs Manorit Chawdhry
2023-03-24  1:07   ` Bryan Brattlof
2023-03-24  5:44     ` Manorit Chawdhry
2023-03-15  6:47 ` [PATCH v5 3/4] Kconfig: j721e: Change K3_MCU_SCRATCHPAD_BASE to non firewalled region Manorit Chawdhry
2023-03-15  6:47 ` Manorit Chawdhry [this message]

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=20230315064724.60474-5-m-chawdhry@ti.com \
    --to=m-chawdhry@ti.com \
    --cc=afd@ti.com \
    --cc=j-choudhary@ti.com \
    --cc=jm@ti.com \
    --cc=kamlesh@ti.com \
    --cc=n-francis@ti.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /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.