sc2: AUCPU secure fw loading [3/4]
authorLawrence Mok <lawrence.mok@amlogic.com>
Wed, 3 Mar 2021 01:17:17 +0000 (17:17 -0800)
committerNolen Johnson <johnsonnolen@gmail.com>
Tue, 21 Dec 2021 18:32:51 +0000 (13:32 -0500)
commit0b8f51dd4a04c8c7057043fde2025c989aec6261
tree5506cf5e5933e38388b236e9a211c29160890a9a
parent3a7537fe9d3d8f0bedbbda069ccc076ebe689a9a
sc2: AUCPU secure fw loading [3/4]

PD#SWPL-49064

Problem:
Need to support signed and encrypted AUCPU firmware.

Solution:
Add bl31 smc command to load signed/encrypted fw

Verify:
Load signed/encrypted AUCPU fw:
  Sign/encrypt aucpu_fw.bin
  mkdir /lib/firmware
  cp -v aucpu_fw.bin.dblk /lib/firmware/aucpu_fw.bin
  insmod aml_aucpu.ko print_level=0

Change-Id: Ib63e4332e5a21f27787365a2df59c0a69ccd1537
Signed-off-by: Lawrence Mok <lawrence.mok@amlogic.com>
drivers/amlogic/dvb/aucpu/aml_aucpu.c
drivers/amlogic/secmon/secmon.c