From 208a4977d07a6e567460dd1324dd00361d899128 Mon Sep 17 00:00:00 2001 From: Sarat Chand Savitala Date: Thu, 26 Feb 2015 18:22:26 +0530 Subject: [PATCH] sw_apps:zynqmp_fsbl: Fix to address change in arguments to f_mount Signature for function f_mount() is changed. Now three arguments are expected (earlier had two arguments). In FSBL code, now f_mount() is called with new set of arguments. Signed-off-by: Sarat Chand Savitala --- lib/sw_apps/zynqmp_fsbl/src/xfsbl_sd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/sw_apps/zynqmp_fsbl/src/xfsbl_sd.c b/lib/sw_apps/zynqmp_fsbl/src/xfsbl_sd.c index fbaf228e..f4b81d09 100644 --- a/lib/sw_apps/zynqmp_fsbl/src/xfsbl_sd.c +++ b/lib/sw_apps/zynqmp_fsbl/src/xfsbl_sd.c @@ -88,9 +88,10 @@ u32 XFsbl_SdInit(void ) char buffer[32]; char *boot_file = buffer; u32 MultiBootOffset=0U; + 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); XFsbl_Printf(DEBUG_INFO,"SD: rc= %.8x\n\r", rc); if (rc != FR_OK) {