[U-Boot] [PATCH 2/2] common: Print nothing in the __weak checkboard()

Simon Glass sjg at chromium.org
Mon Aug 3 01:36:38 CEST 2015


On 2 August 2015 at 15:26, Simon Glass <sjg at chromium.org> wrote:
> On 31 July 2015 at 01:24, Bin Meng <bmeng.cn at gmail.com> wrote:
>> Do not print confusing "Board: Unknown" during boot.
>>
>> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>> ---
>>
>>  common/board_info.c | 1 -
>>  1 file changed, 1 deletion(-)
>>
>
> Acked-by: Simon Glass <sjg at chromium.org>
>
>> diff --git a/common/board_info.c b/common/board_info.c
>> index 4e5a1f7..6afe98e 100644
>> --- a/common/board_info.c
>> +++ b/common/board_info.c
>> @@ -8,7 +8,6 @@
>>
>>  int __weak checkboard(void)
>>  {
>> -       printf("Board: Unknown\n");
>>         return 0;
>>  }
>>
>> --
>> 1.8.2.1
>>

Applied to u-boot-x86, thanks!


More information about the U-Boot mailing list