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 <saratcha@xilinx.com>
This commit is contained in:
Sarat Chand Savitala 2015-02-26 18:22:26 +05:30 committed by Nava kishore Manne
parent 7fc4f07ed2
commit 208a4977d0

View file

@ -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) {