Skip to contentSkip to conversation

disk: part: Enable get_info pointer for CONFIG_SPL_FAT_SUPPORT

PATCH In review Michal Simek 3 participants 4 messages Apr 5, 2016 – Apr 12, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

 include/part.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/part.h +1 -1
index dc8e72e08f6d..e3811c68de8a 100644
@@ -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
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 disk: part: Enable get_info pointer for CONFIG_SPL_FAT_SUPPORT

Quoted 9 lines · Michal Simek

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.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160405/671e2e58/attachment.sig>
#2 lore raw

PATCH 1/1 disk: part: Enable get_info pointer for CONFIG_SPL_FAT_SUPPORT

Quoted 9 lines · Tom Rini
Quoted 7 lines · Michal Simek

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.

Quoted 7 lines
Quoted 2 lines

--
Tom

#3 lore raw
In reply to Michal Simek
Quoted 11 lines · Michal Simek

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160411/3fd3b857/attachment.sig>