diff options
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | 2019-05-04 01:08:23 +0100 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-07-19 15:12:07 +0200 |
commit | 7e7cc90e33f556f047b469e48a41fc5c130df2d8 (patch) | |
tree | 046067dc3bc55d2b2068cbd8de4e95504db91ce3 /lib | |
parent | d99b018a6e3d861c698390740af617549e229af2 (diff) | |
download | u-boot-7e7cc90e33f556f047b469e48a41fc5c130df2d8.tar.gz |
optee: Make TZDRAM config options contingent on CONFIG_OPTEE
Commit c7b3a7ee5351 ("optee: adjust dependencies and default values for
dram") makes the TZDRAM defines for OPTEE show up for all configs as a
side-effect. While not harmful its not what we really want.
This patch makes the following defines contingent on CONFIG_OPTEE=y
CONFIG_OPTEE_TZDRAM_BASE
CONFIG_OPTEE_TZDRAM_SIZE
Rightly, if you don't have CONFIG_OPTEE=y you don't care about the above
two defines.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Cc: Rui Miguel Silva <rui.silva@linaro.org>
Acked-by: Rui Miguel Silva <rui.silva@linaro.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/optee/Kconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/optee/Kconfig b/lib/optee/Kconfig index 3773d89c31..c398f9b953 100644 --- a/lib/optee/Kconfig +++ b/lib/optee/Kconfig @@ -17,6 +17,7 @@ config OPTEE_LOAD_ADDR config OPTEE_TZDRAM_SIZE hex "Amount of Trust-Zone RAM for the OPTEE image" default 0x0000000 + depends on OPTEE help The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE runtime. @@ -24,6 +25,7 @@ config OPTEE_TZDRAM_SIZE config OPTEE_TZDRAM_BASE hex "Base address of Trust-Zone RAM for the OPTEE image" default 0x00000000 + depends on OPTEE help The base address of pre-allocated Trust Zone DRAM for the OPTEE runtime. |