From 990cca15db7427acb2aaa17adcce7963b4a3deb0 Mon Sep 17 00:00:00 2001 From: Sarat Chand Savitala Date: Thu, 12 Mar 2015 17:31:12 +0530 Subject: [PATCH] sw_apps:zynqmp_fsbl: Added eMMC bootmode support in FSBL eMMC uses same driver as SD. Signed-off-by: Sarat Chand Savitala --- .../zynqmp_fsbl/src/xfsbl_initialization.c | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/lib/sw_apps/zynqmp_fsbl/src/xfsbl_initialization.c b/lib/sw_apps/zynqmp_fsbl/src/xfsbl_initialization.c index 46ce9f3c..9c705aa9 100644 --- a/lib/sw_apps/zynqmp_fsbl/src/xfsbl_initialization.c +++ b/lib/sw_apps/zynqmp_fsbl/src/xfsbl_initialization.c @@ -515,8 +515,9 @@ static u32 XFsbl_PrimaryBootDeviceInit(XFsblPs * FsblInstancePtr) } break; case XFSBL_SD_BOOT_MODE: + case XFSBL_EMMC_BOOT_MODE: { - XFsbl_Printf(DEBUG_GENERAL,"SD Boot Mode \n\r"); + XFsbl_Printf(DEBUG_GENERAL,"SD/eMMC Boot Mode \n\r"); #ifdef XFSBL_SD /** * Update the deviceops structure with necessary values @@ -534,22 +535,6 @@ static u32 XFsbl_PrimaryBootDeviceInit(XFsblPs * FsblInstancePtr) #endif } break; - case XFSBL_EMMC_BOOT_MODE: - { - XFsbl_Printf(DEBUG_GENERAL,"eMMC Boot Mode \n\r"); - /** - * Update the deviceops structure with necessary values - * - */ - - /** - * This bootmode is not supported in this release - */ - XFsbl_Printf(DEBUG_GENERAL, - "XFSBL_ERROR_UNSUPPORTED_BOOT_MODE\n\r"); - Status = XFSBL_ERROR_UNSUPPORTED_BOOT_MODE; - } break; - case XFSBL_USB_BOOT_MODE: { XFsbl_Printf(DEBUG_GENERAL,"USB Boot Mode \n\r");