From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Fri, 25 Sep 2015 17:52:32 +0200 Subject: Steps to submit a new arch/arm port In-Reply-To: <56056836.4060307@free.fr> References: <56001B78.2090001@free.fr> <7559792.th4E1kM5gi@wuerfel> <56056836.4060307@free.fr> Message-ID: <8912441.4NjM1sFKRe@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Friday 25 September 2015 17:28:54 Mason wrote: > On 25/09/2015 16:11, Arnd Bergmann wrote: > > On Friday 25 September 2015 15:35:36 Mason wrote: > >> > >> So 'default y' enables ARCH_TANGO4 only if ARCH_TANGOX is selected, > >> right? > > > > You should really only have one of the two. > > I plan to add ARCH_TANGO5 in a few weeks. So I copied the layout used > by Samsung for EXYNOSx and TI for OMAPx. Better start simple, I wouldn't expect there to be too much code that is specific to just one of them to warrant a top-level Kconfig option like on OMAP. > >> It will build, but it won't run! My port uses the TWD for clockevents, > >> and smp_twd.c is only compiled if HAVE_ARM_TWD. So I must set SMP. > > > > I think this has come up before and should be fixed. Could you > > send a patch that allows using TWD in uniprocessor configurations? > > This was discussed here: > http://thread.gmane.org/gmane.linux.ports.arm.kernel/389931/focus=15737 > > I can re-post the same patch. Yes, please include that patch in the series. Arnd