defendkey: G12A: support secure upgrade check [3/4]
authorZhongfu Luo <zhongfu.luo@amlogic.com>
Fri, 7 Dec 2018 09:26:52 +0000 (17:26 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 7 Dec 2018 11:25:54 +0000 (03:25 -0800)
commit2e99a2bc8f6c351eeec229910aa2e22f9b1b40dd
treeaf7a6905bdf92e83dfde31f6e3081a847d3726bf
parent224663383fbb1e6caa2e11a32b3b6b87090b38df
defendkey: G12A: support secure upgrade check [3/4]

PD#SWPL-2347

Problem:
G12A need to support secure upgrade check

Solution:
1.modify reserve memory mode
2.only use cpu0 in defendkey write process

Verify:
G12A skt board verify pass

Change-Id: Iad771381e959a79dcba7a0adb862295fa5ba5dee
Signed-off-by: Zhongfu Luo <zhongfu.luo@amlogic.com>
drivers/amlogic/defendkey/defendkey.c