From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759653AbbCDRPJ (ORCPT ); Wed, 4 Mar 2015 12:15:09 -0500 Received: from down.free-electrons.com ([37.187.137.238]:49077 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754305AbbCDRPI (ORCPT ); Wed, 4 Mar 2015 12:15:08 -0500 Date: Wed, 4 Mar 2015 18:15:05 +0100 From: Alexandre Belloni To: Arnd Bergmann Cc: linux-arm-kernel@lists.infradead.org, Nicolas Ferre , Boris Brezillon , Jean-Christophe Plagniol-Villard , linux-kernel@vger.kernel.org Subject: Re: [PATCH 5/6] ARM: at91: remove SoC headers Message-ID: <20150304171505.GH3989@piout.net> References: <1425480446-31711-1-git-send-email-alexandre.belloni@free-electrons.com> <1425480446-31711-6-git-send-email-alexandre.belloni@free-electrons.com> <8819576.zV70Ce3SCo@wuerfel> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8819576.zV70Ce3SCo@wuerfel> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/03/2015 at 18:03:45 +0100, Arnd Bergmann wrote : > On Wednesday 04 March 2015 15:47:25 Alexandre Belloni wrote: > > @@ -21,6 +21,14 @@ > > #include "generic.h" > > #include "soc.h" > > > > +#define SAMA5D4_BASE_USART3 0xfc00c000 /* (USART3 non-secure) Base Address */ > > +#define SAMA5D4_BASE_PMC 0xf0018000 /* (PMC) Base Address */ > > +#define SAMA5D4_BASE_MPDDRC 0xf0010000 /* (MPDDRC) Base Address */ > > +#define SAMA5D4_BASE_PIOD 0xfc068000 /* (PIOD) Base Address */ > > + > > +/* Some other peripherals */ > > +#define SAMA5D4_BASE_SYS2 SAMA5D4_BASE_PIOD > > > > Why are these still needed? I would expect that the code using them > can be removed as well. > Yeah, that is still something I need to investigate. Nicolas told me it doesn't work without it. My guess is that it has something to do with secure booting. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com