diff options
| author | Svyatoslav Ryhel <[email protected]> | 2025-04-15 11:54:55 +0300 |
|---|---|---|
| committer | Svyatoslav Ryhel <[email protected]> | 2025-05-08 08:31:12 +0300 |
| commit | 94b395cc2db0160a079b208d9cc49485f2b943b1 (patch) | |
| tree | ab7f4790a3927a39157de27e844d019f88958867 | |
| parent | 24e578cbac78d7d09ec2bb9b3049a0eec456e626 (diff) | |
ARM: tegra: add PRAM Kconfig option
Wrap CFG_PRAM with Kconfig option.
Signed-off-by: Svyatoslav Ryhel <[email protected]>
| -rw-r--r-- | arch/arm/mach-tegra/Kconfig | 14 | ||||
| -rw-r--r-- | include/configs/tegra.h | 4 |
2 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig index 4690dcb3ea6..67bd2398bfd 100644 --- a/arch/arm/mach-tegra/Kconfig +++ b/arch/arm/mach-tegra/Kconfig @@ -198,6 +198,20 @@ source "arch/arm/mach-tegra/tegra124/Kconfig" source "arch/arm/mach-tegra/tegra210/Kconfig" source "arch/arm/mach-tegra/tegra186/Kconfig" +config TEGRA_PRAM + select TEGRA_SUPPORT_NON_SECURE if TEGRA114 || TEGRA124 + bool "Support reservation of the protected RAM" + help + This option indicates the presence of a region of protected RAM. + +config TEGRA_PRAM_SIZE + hex "Size of pRAM region" + depends on TEGRA_PRAM + default 0x1000 + help + Size in kB of carevout which will be reserved as protected RAM starting + from the top of the RAM. + config TEGRA_SPI def_bool y depends on TEGRA20_SFLASH || TEGRA20_SLINK || TEGRA114_SPI diff --git a/include/configs/tegra.h b/include/configs/tegra.h index 77bc38930d2..5db3129fade 100644 --- a/include/configs/tegra.h +++ b/include/configs/tegra.h @@ -29,6 +29,10 @@ #include "tegra210-common.h" #endif +#ifdef CONFIG_TEGRA_PRAM + #define CFG_PRAM CONFIG_TEGRA_PRAM_SIZE +#endif + #include "tegra-common-post.h" #endif /* __CONFIG_H */ |
