From: Daniel Allred <d-allred@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v3 02/15] arm: am33xx: Kconfig: Add secure device definitions
Date: Thu, 19 May 2016 19:10:42 -0500 [thread overview]
Message-ID: <1463703055-17484-3-git-send-email-d-allred@ti.com> (raw)
In-Reply-To: <1463703055-17484-1-git-send-email-d-allred@ti.com>
From: Madan Srinivas <madans@ti.com>
Adds a new Kconfig file for AM33xx class devices. We
need a common place to define CONFIG parameters
for these SOCs, especially for adding support
for secure devices.
a) Adds a definition for ISW_ENTRY_ADDR. This is the
address to which the ROM branches when the SOC
ROM hands off execution to the boot loader.
CONFIG_SYS_TEXT_BASE and CONFIG_SPL_TEXT_BASE are set
to this value for AM43xx devices.
b) Adds CONFIG_PUB_ROM_DATA_SIZE which is used to
calculate CONFIG_SPL_MAX_SIZE. This value indicates the
amount of memory needed by the ROM to store data during
the boot process.
Currently, these CONFIG options are used only by AM43xx,
but in future other AM33xx class SOCs will also use them.
Signed-off-by: Madan Srinivas <madans@ti.com>
Signed-off-by: Daniel Allred <d-allred@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Tested-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
---
V3:
None
V2:
None
arch/arm/cpu/armv7/am33xx/Kconfig | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 arch/arm/cpu/armv7/am33xx/Kconfig
diff --git a/arch/arm/cpu/armv7/am33xx/Kconfig b/arch/arm/cpu/armv7/am33xx/Kconfig
new file mode 100644
index 0000000..39759cd
--- /dev/null
+++ b/arch/arm/cpu/armv7/am33xx/Kconfig
@@ -0,0 +1,27 @@
+config ISW_ENTRY_ADDR
+ hex "Address in memory or XIP flash of bootloader entry point"
+ help
+ After any reset, the boot ROM on the AM43XX SOC
+ searches the boot media for a valid boot image.
+ For non-XIP devices, the ROM then copies the
+ image into internal memory.
+ For all boot modes, after the ROM processes the
+ boot image it eventually computes the entry
+ point address depending on the device type
+ (secure/non-secure), boot media (xip/non-xip) and
+ image headers.
+ default 0x402F4000
+
+config PUB_ROM_DATA_SIZE
+ hex "Size in bytes of the L3 SRAM reserved by ROM to store data"
+ help
+ During the device boot, the public ROM uses the top of
+ the public L3 OCMC RAM to store r/w data like stack,
+ heap, globals etc. When the ROM is copying the boot
+ image from the boot media into memory, the image must
+ not spill over into this area. This value can be used
+ during compile time to determine the maximum size of a
+ boot image. Once the ROM transfers control to the boot
+ image, this area is no longer used, and can be reclaimed
+ for run time use by the boot image.
+ default 0x8400
--
1.9.1
next prev parent reply other threads:[~2016-05-20 0:10 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-20 0:10 [U-Boot] [PATCH v3 00/15] Support for boot image creation for TI secure devices Daniel Allred
2016-05-20 0:10 ` [U-Boot] [PATCH v3 01/15] doc: Add info on using secure devices from TI Daniel Allred
2016-05-30 18:07 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-05-20 0:10 ` Daniel Allred [this message]
2016-05-30 18:01 ` [U-Boot] [U-Boot, v3, 02/15] arm: am33xx: Kconfig: Add secure device definitions Tom Rini
2016-05-20 0:10 ` [U-Boot] [PATCH v3 03/15] arm: Kconfig: Add support for AM43xx SoC specific Kconfig Daniel Allred
2016-05-30 18:01 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-05-20 0:10 ` [U-Boot] [PATCH v3 04/15] ti: omap-common: Add Kconfig file for secure device support Daniel Allred
2016-05-30 18:01 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-05-20 0:10 ` [U-Boot] [PATCH v3 05/15] ti: omap-common: Add commands for generating secure SPL images Daniel Allred
2016-05-30 18:02 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-05-20 0:10 ` [U-Boot] [PATCH v3 06/15] ti: AM43xx: config.mk: Add support for generating secure boot images Daniel Allred
2016-05-30 18:02 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-05-30 18:02 ` Tom Rini
2016-05-20 0:10 ` [U-Boot] [PATCH v3 07/15] ti: AM43xx: Use CONFIG options from SOC Kconfig Daniel Allred
2016-05-30 18:02 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-05-20 0:10 ` [U-Boot] [PATCH v3 08/15] ti: AM43xx: board: Detect AM43xx HS EVM Daniel Allred
2016-05-30 18:02 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-05-20 0:10 ` [U-Boot] [PATCH v3 09/15] defconfig: Add a config for AM43xx secure part Daniel Allred
2016-05-30 18:02 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-05-20 0:10 ` [U-Boot] [PATCH v3 10/15] ti_omap5_common: Update SPL start address on secure parts Daniel Allred
2016-05-20 13:02 ` Tom Rini
2016-05-30 18:02 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-05-20 0:10 ` [U-Boot] [PATCH v3 11/15] spl: build: ti: add support for secure boot images Daniel Allred
2016-05-30 18:02 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-05-20 0:10 ` [U-Boot] [PATCH v3 12/15] ARM: omap-common: Add device type to CPU string Daniel Allred
2016-05-30 18:02 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-05-20 0:10 ` [U-Boot] [PATCH v3 13/15] ARM: omap5: add hooks for cpu/SoC fdt fixups Daniel Allred
2016-05-30 18:02 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-05-20 0:10 ` [U-Boot] [PATCH v3 14/15] ARM: omap5: add ft_board_setup for dra7xx/am57xx Daniel Allred
2016-05-30 18:02 ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-05-20 0:10 ` [U-Boot] [PATCH v3 15/15] defconfig: ti: Add configs for OMAP5-class secure parts Daniel Allred
2016-05-30 18:03 ` [U-Boot] [U-Boot, v3, " Tom Rini
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=1463703055-17484-3-git-send-email-d-allred@ti.com \
--to=d-allred@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