mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 15:26:03 +09:00
optee: Make TZDRAM config options contingent on CONFIG_OPTEE
Commit c7b3a7ee53
("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>
This commit is contained in:
parent
d99b018a6e
commit
7e7cc90e33
|
@ -17,6 +17,7 @@ config OPTEE_LOAD_ADDR
|
||||||
config OPTEE_TZDRAM_SIZE
|
config OPTEE_TZDRAM_SIZE
|
||||||
hex "Amount of Trust-Zone RAM for the OPTEE image"
|
hex "Amount of Trust-Zone RAM for the OPTEE image"
|
||||||
default 0x0000000
|
default 0x0000000
|
||||||
|
depends on OPTEE
|
||||||
help
|
help
|
||||||
The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE
|
The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE
|
||||||
runtime.
|
runtime.
|
||||||
|
@ -24,6 +25,7 @@ config OPTEE_TZDRAM_SIZE
|
||||||
config OPTEE_TZDRAM_BASE
|
config OPTEE_TZDRAM_BASE
|
||||||
hex "Base address of Trust-Zone RAM for the OPTEE image"
|
hex "Base address of Trust-Zone RAM for the OPTEE image"
|
||||||
default 0x00000000
|
default 0x00000000
|
||||||
|
depends on OPTEE
|
||||||
help
|
help
|
||||||
The base address of pre-allocated Trust Zone DRAM for
|
The base address of pre-allocated Trust Zone DRAM for
|
||||||
the OPTEE runtime.
|
the OPTEE runtime.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user