sw_apps:zynq_fsbl: LinearBootDeviceFlag is initialized

LinearBootDeviceFlag is initialized since the variable undefined when operated in IO mode.

Signed-off-by: Keerthana Voruganti <keertha@xilinx.com>
This commit is contained in:
Keerthana Voruganti 2014-10-14 16:25:12 +05:30 committed by Suneel Garapati
parent f026500324
commit cee0b5464b
2 changed files with 11 additions and 2 deletions

View file

@ -213,6 +213,12 @@
* Resolution Minor code changes
* kc 08/27/14 820356 - FSBL compilation fails with IAR compiler
* Resolution: Change of __asm__ to __asm
* 11.00a kv 10/08/14 826030 - FSBL:LinearBootDeviceFlag is not initialized
* in IO mode case.Due to which the variable is
* remaining in unknown state.
* Resolution: LinearBootDeviceFlag is initialized 0
* in main.c
*
* </pre>
*
* </pre>
@ -298,7 +304,7 @@ extern "C" {
* SDK release version
*/
#define SDK_RELEASE_YEAR 2014
#define SDK_RELEASE_QUARTER 3
#define SDK_RELEASE_QUARTER 4
#define WORD_LENGTH_SHIFT 2

View file

@ -96,6 +96,9 @@
* 10.00a kc 07/24/14 Fix for CR#809336 - Minor code cleanup
* kc 08/27/14 Fix for CR#820356 - FSBL compilation fails with
* IAR compiler
* 11.00a kv 10/08/14 Fix for CR#826030 - LinearBootDeviceFlag should
* be initialized to 0 in IO mode
* case
* </pre>
*
* @note
@ -196,7 +199,7 @@ u32 Silicon_Version;
/*
* Boot Device flag
*/
u8 LinearBootDeviceFlag;
u8 LinearBootDeviceFlag=0;
u32 PcapCtrlRegVal;