target: Compile UFS and MMC init calls only when they are supported in configuration

Previously initialization calls for both UFS and MMC code compile by default. Add
support to enable disable the initialization of drivers only when defined in the
configuration files for the target.

Change-Id: Icb84546cf97a7030ef4111266502839e73125ad5
diff --git a/target/thulium/init.c b/target/thulium/init.c
index 88ac212..23cd585 100644
--- a/target/thulium/init.c
+++ b/target/thulium/init.c
@@ -222,15 +222,19 @@
 
 	platform_read_boot_config();
 
+#ifdef MMC_SDHCI_SUPPORT
 	if (platform_boot_dev_isemmc())
 	{
 		target_sdc_init();
 	}
-	else
+#endif
+#ifdef UFS_SUPPORT
+	if (!platform_boot_dev_isemmc())
 	{
 		ufs_device.base = UFS_BASE;
 		ufs_init(&ufs_device);
 	}
+#endif
 
 	/* Storage initialization is complete, read the partition table info */
 	mmc_read_partition_table(0);