From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from eso.teric.us ([69.164.192.171]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UHw7h-00013j-Or for barebox@lists.infradead.org; Tue, 19 Mar 2013 12:58:39 +0000 Date: Tue, 19 Mar 2013 08:05:28 -0500 From: Josh Cartwright Message-ID: <20130319130528.GW16050@kryptos> References: <1363684920-3034-1-git-send-email-s.trumtrar@pengutronix.de> <1363684920-3034-3-git-send-email-s.trumtrar@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1363684920-3034-3-git-send-email-s.trumtrar@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH v2 2/5] ARM: zynq: Add new architecture zynq To: Steffen Trumtrar Cc: barebox@lists.infradead.org On Tue, Mar 19, 2013 at 10:21:57AM +0100, Steffen Trumtrar wrote: > Add basic support for the Xilinx Zynq-7000 EPP architecture. > The Zynq-7000 is an embedded processing platform that combines a Cortex A9 > dualcore MPSoC with an Artix-7 FPGA. > > Signed-off-by: Steffen Trumtrar [..] > +static int zynq_init(void) > +{ > + u32 val; > + > + dsb(); > + isb(); > + writel(0xDF0D, ZYNQ_SLCR_UNLOCK); > + /* remap ocm high */ > + writel(0x0000000F, 0xf8000910); > + /* mpcore.filtering_start_address */ > + writel(0x00000000, 0xf8f00040); > + /* mpcore.filtering_end_address */ > + writel(0xffe00000, 0xf8f00044); > + val = readl(0xf8f00000); > + val |= 0x2; > + writel(val, 0xf8f00000); > + dmb(); Doh! I should have read this before replying! This is what I was looking for! I think this will work nicely. Josh _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox