summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2016-04-05 13:34:20 +0200
committerTom Rini <trini@konsulko.com>2016-04-11 20:48:24 -0400
commitd9b2678e0a5e5781b37487ccb943ddcbf0623bb0 (patch)
treefa98cd9cd2ed3e722370ff0644a40da72ab4df28
parent7f961c90d76a485e16b2c52f6f66e58c909a5545 (diff)
downloadu-boot-imx-d9b2678e0a5e5781b37487ccb943ddcbf0623bb0.zip
u-boot-imx-d9b2678e0a5e5781b37487ccb943ddcbf0623bb0.tar.gz
u-boot-imx-d9b2678e0a5e5781b37487ccb943ddcbf0623bb0.tar.bz2
disk: part: Enable get_info pointer for CONFIG_SPL_FAT_SUPPORT
The patch "dm: part: Convert partition API use to linker lists" (sha1: 96e5b03c8ab749b6547f6a3ceb4d4b9f274211aa) is adding new dependency for enabling SPL_EXT_SUPPORT to be able to get information about DOS partition. get_info is also required for FAT support only which is used on Xilinx Zynq boards. Reported-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/part.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/part.h b/include/part.h
index dc8e72e..e3811c6 100644
--- a/include/part.h
+++ b/include/part.h
@@ -207,7 +207,7 @@ static inline int blk_get_device_part_str(const char *ifname,
*/
#ifdef CONFIG_SPL_BUILD
# define part_print_ptr(x) NULL
-# if defined(CONFIG_SPL_EXT_SUPPORT) || \
+# if defined(CONFIG_SPL_EXT_SUPPORT) || defined(CONFIG_SPL_FAT_SUPPORT) || \
defined(CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_PARTITION)
# define part_get_info_ptr(x) x
# else