[U-Boot] [PATCH] part: always enable part_get_info_ptr() for driver
Kever Yang
kever.yang at rock-chips.com
Thu Aug 8 00:59:01 UTC 2019
Tom,
On 2019/8/8 上午3:30, Tom Rini wrote:
> On Thu, Jul 25, 2019 at 05:40:56PM +0800, Kever Yang wrote:
>
>> The partition driver has its Kconfig option, and the part_get_info_prt()
>> interface are mendatory interface for partition drivers,
>> always enable the macro to make partition driver works correctly.
>>
>> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> This makes some boards such as r8a77995_draak overflow their memory map.
>
Is it overflow in SPL? then these board have very limited space left for
SPL.
There use to have a CONFIG_SPL_LIBDISK_SUPPORT to decide if we need
partition
driver and now it convert to use CONFIG_PARTITIONS&CONFIG_SPL_FRAMEWORK
after:
91ff686562 blk: Rework guard around part_init call
If the board really needs the partition driver, then we must have
part_get_info_prt()
to make it work, or else we'd better disable the the partition driver in
SPL to remove the no
use code.
Do you think SPL of boards like r8a77995_draak really need partition driver?
Thanks,
- Kever
More information about the U-Boot
mailing list