sw_apps:zynq_fsbl: Fallback support for AES encryption with Efuse

Fallback support for AES encryption with Efuse - Enhancement
Disabling the cache for fallback cases after authentication failure

Signed-off-by: Krishna Chaitanya <kpataka@xilinx.com>
Acked-by: Nirmala Pelluri <nirmala@xilinx.com>
This commit is contained in:
Krishna Chaitanya 2014-07-25 16:10:51 +05:30 committed by Jagannadha Sutradharudu Teki
parent e98b8c62c3
commit d4cf4a3fc2
2 changed files with 8 additions and 1 deletions

View file

@ -202,10 +202,13 @@
* 791245 - Use of xilrsa in fsbl
* Resolution: Rsa library is removed from fsbl source
* and xilrsa is used from BSP
* 10.00a kc 07/15/14 Fix for CR#804595 Zynq FSBL - Issues with
* 10.00a kc 07/15/14 804595 Zynq FSBL - Issues with
* fallback image offset handling using MD5
* Resolution: Updated the checksum offset to add with
* image base address
* 782309 Fallback support for AES
* encryption with E-Fuse - Enhancement
* Resolution: Same as 773866
* </pre>
*
* </pre>

View file

@ -71,6 +71,8 @@
* authenticate (RSA) a bitstream on zc706
* 10.00a kc 07/15/14 Fix for CR#804595 Zynq FSBL - Issues with
* fallback image offset handling using MD5
* Fix for PR#782309 Fallback support for AES
* encryption with E-Fuse - Enhancement
*
* </pre>
*
@ -490,6 +492,8 @@ u32 LoadBootImage(void)
Status = AuthenticatePartition((u8*)PartitionStartAddr,
(PartitionTotalSize << WORD_LENGTH_SHIFT));
if (Status != XST_SUCCESS) {
Xil_DCacheFlush();
Xil_DCacheDisable();
fsbl_printf(DEBUG_GENERAL,"AUTHENTICATION_FAIL\r\n");
OutputStatus(AUTHENTICATION_FAIL);
FsblFallback();