Petalinux fsbl RSA_SUPPORT
petalinux-build -c bootloader
petalinux-build -c bootloader -x distclean
petalinux-build -c bootloader
diff -uNr zynq_fsbl_old zynq_fsbl_new > diff.patch
diff -uNr zynq_fsbl_old/src/fsbl_debug.h zynq_fsbl_new/src/fsbl_debug.h
--- zynq_fsbl_old/src/fsbl_debug.h 2021-06-17 09:52:02.062166000 +0800
+++ zynq_fsbl_new/src/fsbl_debug.h 2021-06-17 09:06:33.043297000 +0800
@@ -50,7 +50,8 @@
extern "C" {
#endif
-
+#define FSBL_DEBUG_INFO
+
#define DEBUG_GENERAL 0x00000001 /* general debug messages */
#define DEBUG_INFO 0x00000002 /* More debug information */
diff -uNr zynq_fsbl_old/src/fsbl.h zynq_fsbl_new/src/fsbl.h
--- zynq_fsbl_old/src/fsbl.h 2021-06-17 09:52:02.062166000 +0800
+++ zynq_fsbl_new/src/fsbl.h 2021-06-16 14:05:48.807769000 +0800
@@ -310,6 +310,8 @@
#ifndef XIL_FSBL_H
#define XIL_FSBL_H
+#define RSA_SUPPORT
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -327,7 +329,6 @@
#include <stdio.h>
#endif
-
/************************** Constant Definitions *****************************/
/*
* SDK release version
diff -uNr zynq_fsbl_old/src/rsa.c zynq_fsbl_new/src/rsa.c
--- zynq_fsbl_old/src/rsa.c 2021-06-17 09:52:02.064166000 +0800
+++ zynq_fsbl_new/src/rsa.c 2021-06-16 14:14:55.644493000 +0800
@@ -55,8 +55,9 @@
******************************************************************************/
/***************************** Include Files *********************************/
-#ifdef RSA_SUPPORT
#include "fsbl.h"
+#ifdef RSA_SUPPORT
+
#include "rsa.h"
#include "xilrsa.h"