[U-Boot] [PATCH v2 3/7] m68k: remove arch/m68k/lib/board.c

Masahiro Yamada yamada.masahiro at socionext.com
Thu Apr 9 12:07:53 CEST 2015


Hi Angelo,


2015-04-09 4:20 GMT+09:00 Angelo Dureghello <angelo at sysam.it>:
> Hi Masahiro and all,
>
>
> On 25/03/2015 04:20, Masahiro Yamada wrote:
>>
>> Hi Angelo,
>>
>>
>> 2015-03-17 15:55 GMT+09:00 Angelo Dureghello <angelo at sysam.it>:
>>>
>>> On 17/03/2015 04:35, Masahiro Yamada wrote:
>>>>
>>>>
>>>> All the M68000 boards have switched to Generic Board.
>>>> This file is no longer necessary.
>>>>
>>>
>>> Hi Masahiro,
>>>
>>> thanks.
>>>
>>> Afaik, me and Alison converted and tested actually only 2 boards
>>> (adding #define CONFIG_SYS_GENERIC_BOARD inside /include/configs/...)
>>>
>>> Is this a problem ?  Afaik, the user going to build the board
>>> will get a warning that he needs to switch to generic board.
>>> So the same user will be the tester that all works. Correct ?
>>
>>
>> As a rule of generic board, people are supposed to do run-test
>> and then send a patch.
>>
>>
>> BTW, M68K is the last architecture that adopts per-board linker script.
>>
>> M68K should switch to per-soc linker scripts like the other architecures.
>> It means all the followings should be merged into the single linker script
>> arch/m68k/cpu/u-boot.lds.
>>
>> board/freescale/m52277evb/u-boot.lds
>> board/freescale/m5235evb/u-boot.lds
>> board/cobra5272/u-boot.lds
>> board/BuS/eb_cpu5282/u-boot.lds
>> board/freescale/m5208evbe/u-boot.lds
>> board/freescale/m5249evb/u-boot.lds
>> board/freescale/m5253demo/u-boot.lds
>> board/freescale/m5272c3/u-boot.lds
>> board/freescale/m5275evb/u-boot.lds
>> board/freescale/m5282evb/u-boot.lds
>> board/sysam/amcore/u-boot.lds
>> board/astro/mcf5373l/u-boot.lds
>> board/freescale/m53017evb/u-boot.lds
>> board/freescale/m5329evb/u-boot.lds
>> board/freescale/m5373evb/u-boot.lds
>> board/freescale/m54418twr/u-boot.lds
>> board/freescale/m54451evb/u-boot.lds
>> board/freescale/m54455evb/u-boot.lds
>> board/freescale/m547xevb/u-boot.lds
>> board/freescale/m548xevb/u-boot.lds
>>
>>
>>
>> Is this possible for you?  (or for someone else?)
>>
>> If there is no volunteer, it would be much easier to remove all the M68K
>> boards
>> except the two you and Alison can maintain.
>>
>> Maintain or Remove!
>>
>
> so i posted a patch for a unified m68k arch-wide linker script.
> Could not be the best solution but it is a solution that works.
>
> https://patchwork.ozlabs.org/patch/455952/
>
> Let me know your comments.

Great cleanup!

Thank you!


-- 
Best Regards
Masahiro Yamada


More information about the U-Boot mailing list