[U-Boot] [V2] disk/partition: Fix the depend for all the partitions file
Zhong Hongbo
bocui107 at gmail.com
Tue Sep 4 16:13:21 CEST 2012
On 02/09/12 20:40, Wolfgang Denk wrote:
> Dear Zhong Hongbo,
>
> In message <1345075118-3131-1-git-send-email-bocui107 at gmail.com> you wrote:
>> From: Zhong Hongbo <bocui107 at gmail.com>
>>
>> all the patitions should depend CONFIG_PARTITIONS, no the
>> CONFIG_CMD_$(device). The device symbol may be SATA, SCSI,
>> USB, MMC, SYSTEMACE. Or else when the filesystem command be
>> enabled, But board's configure file can not include any
>> CONFIG_CMD_$(device), The u-boot will fail build. For example:
>> CONFIG_CMD_EXT2 is defined in smdk6400.h, but the boards can
>> not define any disk device. The error information of build as
>> following:
>>
>> common/cmd_ext2.c:191: undefined reference to `get_partition_info'
>> fs/ext2/libext2fs.o: In function `ext2fs_set_blk_dev':
>> fs/ext2/dev.c:44: undefined reference to `get_partition_info'
>>
>> Signed-off-by: Zhong Hongbo <bocui107 at gmail.com>
>
> Can you PLEASE make sure to have the string "PATCH" included with all
> patches you are posting?
Ok
>
> As is, your submissions get both lost to patchwork and to the
> respective maintainer's attention.
I will add CONFIG_PARTITIONS to all the boards and test it.
If all the boards can compile successful, I will re-send the patch.
Thanks,
hongbo
>
> Best regards,
>
> Wolfgang Denk
>
More information about the U-Boot
mailing list