From mboxrd@z Thu Jan 1 00:00:00 1970 From: Angelo Dureghello Date: Wed, 08 Apr 2015 21:20:55 +0200 Subject: [U-Boot] [PATCH v2 3/7] m68k: remove arch/m68k/lib/board.c In-Reply-To: References: <1426563315-31414-1-git-send-email-yamada.masahiro@socionext.com> <1426563315-31414-4-git-send-email-yamada.masahiro@socionext.com> <5507CFFD.7060405@sysam.it> Message-ID: <55257F97.5020502@sysam.it> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 : >> 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. Best regards, Angelo Dureghello --