sc2: AUCPU secure fw loading [3/4]
authorLawrence Mok <lawrence.mok@amlogic.com>
Wed, 3 Mar 2021 01:17:17 +0000 (17:17 -0800)
committerChristian Hoffmann <chrmhoffmann@gmail.com>
Sun, 12 Feb 2023 08:13:11 +0000 (09:13 +0100)
commitccaf4d77e433420ed60a376c1e79f5e8858bdf50
tree26f975a19025baa092301d7040a8bea6ceef065e
parentbef089a3348683d1d189ab8b7c8a82eec1ee6083
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