Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752471AbbLBTvx (ORCPT ); Wed, 2 Dec 2015 14:51:53 -0500 Received: from mout.kundenserver.de ([212.227.17.10]:59998 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750790AbbLBTvv (ORCPT ); Wed, 2 Dec 2015 14:51:51 -0500 From: Arnd Bergmann To: Russell King - ARM Linux Cc: Gregory CLEMENT , Sebastian Hesselbarth , Detlef Vollmann , Benjamin Cama , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jason Cooper , Andrew Lunn Subject: Re: [PATCH 0/5] ARM: orion5x/dove/mv78xx0 multiplatform Date: Wed, 02 Dec 2015 20:51:04 +0100 Message-ID: <4984219.tZoFdLBDNB@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: <20151202192825.GF8644@n2100.arm.linux.org.uk> References: <1448466557-435335-1-git-send-email-arnd@arndb.de> <3059482.yN34NFeWWY@wuerfel> <20151202192825.GF8644@n2100.arm.linux.org.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Provags-ID: V03:K0:YEWFeXUop8M9kOP6vUl5C6nufILNbfwovlbPCxGd2lNWyQiwOes ubTdMZiTubRkPABSaO6DPv7c+s51i/UjeD7L29oKLE3wbEBxZm/qqT+w9OUQPSZHdv1v8y4 EIWBq1Xh/IwHPK3eCgNNQqtyYz2R65sZazW5p0FC0ftKqwQqDigu+s2i0fOx4Vd2SbmhONh 2SXMEB8bqHMssdysGA30w== X-UI-Out-Filterresults: notjunk:1;V01:K0:3tInwhaGIvM=:F4eu5sEfJxym1mtgIArrbH fZ4bbNkP3iknFFBEjWT+Ux7br6JyAx9727NH0REWPGvR62qYYznOCaDB8f8KoZCWmGRwzYwiY Zu3XvPNpYTU3baZHlR0PwLFLtzdHwGguBX4kUY3Gl8VSyPqtjcYiEnKL+wJAFCtMxAaFLVkV/ lfWfLqTZko2EMvBlFdVplXgmhZ5sIAgAEl86nNKPzH94Gdtmy7bw/4JPqoW5hlAxGZyocwJxb FTiJeJNJBIM4SZf2FpxYAPTyVZrJP5oKwnPzYzzzabiK5jKi2cvUIwvMZ5eoJ46Q95WY7v6EO dOQ/6CXaws8auisLl+UybDqrXlnDHMjaWrpfjSfZGy8lGAy31jp+GowduWP9xtJMNdHw3/XqJ bOmHyQ81fzo46afpeVPW0tM5orFBICIefwKifhcBpjBfPHmTCpnbS7I7pgurTOj6BWwkS85nY CaE9hhZsI1elsY2Ouh6RlR1kgQSXjmMSKBAaw240ribk8gfqUuJPVxj0T2fCqm44SKMDXGgrs VRyQVrVvR1Gb3GyfB4UDuTE4JDl/y9k1HOXD9VDcjemB7q/Tu4dHKZcw+Nydp78MeqWfmL56q Y/YpSRnvOkrJocAOwIBjITGEWsL0xe64k18A5ddRUUAuSBX52QETdpoIarnmKLWPE4/leMK3m NSeDWixgTF9ZUp+0+1q1LeXF5MN6dImvo77IN53IvSjnrN5CzqEIEtEUFZ4AnGM6s3nJdOa42 xmCOaDTMWzaxQLaQ Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2403 Lines: 54 On Wednesday 02 December 2015 19:28:25 Russell King - ARM Linux wrote: > > As I said above, that's not the problem, the problem is merging it into > the rest of my tree. > > Having done most of that merge, I'm now tripping up on: > > arch/arm/mach-dove/common.c: In function 'dove_wdt_init': > arch/arm/mach-dove/common.c:538:2: error: implicit declaration of function 'orion_wdt_init' [-Werror=implicit-function-declaration] > > which I guess is because you've deleted the legacy orion watchdog stuff. > So I'm going to have to revert that. That then gives me: > > arch/arm/mach-dove/clock.c:19:21: fatal error: mach/pm.h: No such file or directory > arch/arm/mach-dove/clock.c:20:27: fatal error: mach/hardware.h: No such file or directory > > The first is easy to solve, and the second by replacing it with dove.h. > The next problem is this: > > arch/arm/plat-orion/common.c:25:30: fatal error: mach/bridge-regs.h: No such file or directory > > which is impossible to solve, because plat-orion/common.c wants > mach-dove/bridge-regs.h. Ok, I can try to work around that, either by duplicating the device definition, or passing the address into orion_wdt_init. > I also have arch/arm/mach-dove/include/mach/sdhci.h to pass the GPIO > for card detection to the SDHCI driver, which is going to break unless > it's moved to include/linux/platform-data. Right, a platform_data file seems the right approach there. Possibly just passing the gpio number by casting it to a pointer, though that's a bit ugly. > Everything else seems mostly happy, but I've no way to tell whether > what would be the resulting kernel would work as it's impossible to > know without fixing the wreckage above. > > I'm sure I don't have to repeat my position over what I'm going to do if > these petty mainline changes which are totally unnecessary break the only > setup I have which works. Making mach-dove multi-platform is a "wouldn't > it be nice if", it's not an absolute necessity. I'm mostly interested in it because it's the only ARMv7 platform that is left after my other patches, and I just want to be done with it after spending 5 years on it ;-) Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/