[U-Boot] [PATCH v4 1/2] disk: update to use SPL_PARTITIONS for SPL

Kever Yang kever.yang at rock-chips.com
Tue Dec 3 02:57:00 CET 2019


Hi Tom,

On 2019/12/3 上午7:02, Tom Rini wrote:
> This and 2/2 need to be checked (possibly again) for unexpected size
> growth.
This patches should only affect those boards with SPL_LIBDISK_SUPPORT 
enabled,
If this MACRO is enabled, the board wants to use partition, and all the 
related source code are needed,
there should be no difference for this kind of boards.
If the size is overflow with this patch, that means the board does not 
have a complete partition driver
support,  eg. none of partition like SPL_EFI_PARTITION is selected, we 
should remove
SPL_LIBDISK_SUPPORT for this kind of boards.


How can I check boards has size overflow? these two patch can pass the 
travis test.

Thanks,
- Kever




More information about the U-Boot mailing list