]> git.baikalelectronics.ru Git - arm-tf.git/commit
allwinner: Add R_PRCM security setup for H6
authorSamuel Holland <samuel@sholland.org>
Mon, 14 Dec 2020 03:44:54 +0000 (21:44 -0600)
committerSamuel Holland <samuel@sholland.org>
Mon, 14 Dec 2020 04:15:29 +0000 (22:15 -0600)
commit978a824091303748007de308e11af12c2601bc05
treed673d34cc9e7a0dd3e4e2fe1467a3f4761914c7f
parent852e494075d92199e9bddfe92d364f2107a5a25d
allwinner: Add R_PRCM security setup for H6

H6 has a reorganized R_PRCM compared to A64/H5, with the security switch
at a different offset. Until now, we did not notice, because the switch
has no effect unless the secure mode e-fuse is blown.

Since we are adding more platform-specific CCU registers, move them to
their own header, and out of the memory map (where they do not belong).

Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: Ie77476db0515080954eaa2e32bf6c3de657cda86
plat/allwinner/common/sunxi_security.c
plat/allwinner/sun50i_a64/include/sunxi_ccu.h [new file with mode: 0644]
plat/allwinner/sun50i_a64/include/sunxi_mmap.h
plat/allwinner/sun50i_h6/include/sunxi_ccu.h [new file with mode: 0644]
plat/allwinner/sun50i_h6/include/sunxi_mmap.h