Re: [PATCH] rockchip: sdram: fix DRAM bank declaration around OP-TEE

2020-04-17 Thread Justin Swartz
Hi Kever, On 2020-04-17 08:48, Kever Yang wrote: Hi Justin, On 2020/4/1 上午1:25, Justin Swartz wrote: If OP-TEE is configured, it makes sense to use CONFIG_OPTEE_TZDRAM_BASE and CONFIG_OPTEE_TZDRAM_SIZE to declare the boundaries of the TrustZone memory reserved for OP-TEE instead of assuming

Re: [PATCH] rockchip: sdram: fix DRAM bank declaration around OP-TEE

2020-04-16 Thread Kever Yang
Hi Justin, On 2020/4/1 上午1:25, Justin Swartz wrote: If OP-TEE is configured, it makes sense to use CONFIG_OPTEE_TZDRAM_BASE and CONFIG_OPTEE_TZDRAM_SIZE to declare the boundaries of the TrustZone memory reserved for OP-TEE instead of assuming that a 32MB reservation is always in place. In this

[PATCH] rockchip: sdram: fix DRAM bank declaration around OP-TEE

2020-03-31 Thread Justin Swartz
If OP-TEE is configured, it makes sense to use CONFIG_OPTEE_TZDRAM_BASE and CONFIG_OPTEE_TZDRAM_SIZE to declare the boundaries of the TrustZone memory reserved for OP-TEE instead of assuming that a 32MB reservation is always in place. In this case, the following calculations may be used to determi