Skip to content
Commit 7e7cc90e authored by Bryan O'Donoghue's avatar Bryan O'Donoghue Committed by Stefano Babic
Browse files

optee: Make TZDRAM config options contingent on CONFIG_OPTEE



Commit c7b3a7ee ("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: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Cc: Rui Miguel Silva <rui.silva@linaro.org>
Acked-by: default avatarRui Miguel Silva <rui.silva@linaro.org>
parent d99b018a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment