[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1396382712.20336.2.camel@dinh-ubuntu>
Date: Tue, 1 Apr 2014 15:05:12 -0500
From: Thor Thayer - Sendmail <tthayer@...era.com>
To: Steffen Trumtrar <s.trumtrar@...gutronix.de>
CC: <dinguyen@...era.com>, <rob.herring@...xeda.com>,
<pawel.moll@....com>, <mark.rutland@....com>,
<devicetree@...lion.org.uk>, <galak@...eaurora.org>,
<rob@...dley.net>, <linux@....linux.org.uk>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <linux-doc@...r.kernel.org>
Subject: Re: [PATCH 2/2] arm: socfpga: Add support for Altera SoC SDRAM
controller
On Tue, 2014-04-01 at 07:33 +0200, Steffen Trumtrar wrote:
> On Mon, Mar 31, 2014 at 05:07:07PM -0500, tthayer@...era.com wrote:
> > From: Thor Thayer <tthayer@...era.com>
> >
<snip>
> >
>
> Can't we get rid of all these global pointers instead of adding to them?
Yes. I will remove this file from the patch. Thanks.
>
> > @@ -150,6 +151,15 @@ void __init socfpga_sysmgr_init(void)
> >
> > np = of_find_compatible_node(NULL, NULL, "altr,clk-mgr");
> > clk_mgr_base_addr = of_iomap(np, 0);
> > +
> > + np = of_find_compatible_node(NULL, NULL, "altr,sdr-ctl");
> > + if (!np) {
> > + pr_err("SOCFPGA: Unable to find sdr-ctl\n");
> > + return;
> > + }
> > +
> > + sdr_ctl_base_addr = of_iomap(np, 0);
> > + WARN_ON(!sdr_ctl_base_addr);
> > }
> >
> > static void __init socfpga_init_irq(void)
> > --
> > 1.7.9.5
> >
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists