diff --git a/lib/sw_apps/zynq_fsbl/src/fsbl.h b/lib/sw_apps/zynq_fsbl/src/fsbl.h index 3526a2ba..4e6d2fe9 100644 --- a/lib/sw_apps/zynq_fsbl/src/fsbl.h +++ b/lib/sw_apps/zynq_fsbl/src/fsbl.h @@ -218,6 +218,11 @@ * remaining in unknown state. * Resolution: LinearBootDeviceFlag is initialized 0 * in main.c +* 12.00a ssc 12/11/14 839182 - FSBL -In the file sd.c, f_mount is called with +* two arguments but f_mount is expecting the 3 arguments +* from build 2015.1_1210_1, causing compilation error. +* Resolution: Arguments for f_mount in InitSD() are +* changed as per new signature. * * * @@ -303,8 +308,8 @@ extern "C" { /* * SDK release version */ -#define SDK_RELEASE_YEAR 2014 -#define SDK_RELEASE_QUARTER 4 +#define SDK_RELEASE_YEAR 2015 +#define SDK_RELEASE_QUARTER 1 #define WORD_LENGTH_SHIFT 2 diff --git a/lib/sw_apps/zynq_fsbl/src/sd.c b/lib/sw_apps/zynq_fsbl/src/sd.c index 3d8369b8..f0f8c451 100644 --- a/lib/sw_apps/zynq_fsbl/src/sd.c +++ b/lib/sw_apps/zynq_fsbl/src/sd.c @@ -43,6 +43,7 @@ * ----- ---- -------- ------------------------------------------------------- * 1.00a jz 04/28/11 Initial release * 7.00a kc 10/18/13 Integrated SD/MMC driver +* 12.00a ssc 12/11/14 Fix for CR# 839182 * * * @@ -102,9 +103,10 @@ u32 InitSD(const char *filename) { FRESULT rc; + TCHAR *path = "0:/"; /* Logical drive number is 0 */ /* Register volume work area, initialize device */ - rc = f_mount(0, &fatfs); + rc = f_mount(&fatfs, path, 0); fsbl_printf(DEBUG_INFO,"SD: rc= %.8x\n\r", rc); if (rc != FR_OK) {