[U-Boot] [PATCH 1/2] arm: Enable CONFIG_SYS_GENERIC_BOARD for all boards

Simon Glass sjg at chromium.org
Fri Aug 14 00:52:45 CEST 2015


Hi Masahiro,

On 13 August 2015 at 16:38, Masahiro Yamada
<yamada.masahiro at socionext.com> wrote:
> Hi Simon,
>
>
>
> 2015-08-14 6:19 GMT+09:00 Simon Glass <sjg at chromium.org>:
>> All boards should be converted to generic board by now. Change the rest
>> over. If this causes run-time breakages then we can remove those boards.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>
>
> Did you check this commit is only touching ARM boards?
>

I started with this:

for s in $(for f in $(grep CONFIG_ARM configs/* | sed
's#configs/\([A-Za-z0-9]*\).*#\1#' |sort |uniq); do grep "$f"
/tmp/files ; done |sed 's#^#include/configs/#'); do sed -i
'/CONFIG_SYS_GENERIC_BOARD/d' $s; done

>
>
>> diff --git a/include/configs/xilinx-ppc.h b/include/configs/xilinx-ppc.h
>> index 309d68d..74e93de 100644
>> --- a/include/configs/xilinx-ppc.h
>> +++ b/include/configs/xilinx-ppc.h
>> @@ -12,8 +12,6 @@
>>  #ifndef __CONFIG_XLX_H
>>  #define __CONFIG_XLX_H
>>
>> -#define CONFIG_SYS_GENERIC_BOARD
>> -
>>  /*
>>  #define DEBUG
>>  #define ET_DEBUG
>
>
>
> This is PowerPC board.
>
> You are disabling Generic Board for this board.
>

But then I found some common files when I was fixing up build
failures. It looks like I went too far. Will take another look.

Regards,
Simon


More information about the U-Boot mailing list