From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] mx31: Setup AIPS registers
Date: Sat, 03 Mar 2012 10:59:26 +0100 [thread overview]
Message-ID: <4F51EB7E.3010306@denx.de> (raw)
In-Reply-To: <CAOMZO5DndzwzC_Q-DgYFhzzMbsTXKLdLS0du_H5K9eZkC9c7Tw@mail.gmail.com>
On 01/03/2012 13:29, Fabio Estevam wrote:
> On Thu, Mar 1, 2012 at 3:30 AM, Dirk Behme <dirk.behme@de.bosch.com> wrote:
>
>> Ah, thanks for the explanation! :)
>>
>> This does mean that you want the change in both, U-Boot and kernel, correct?
>
> Correct.
>
>> Yes, we definitely should look at which parts are common. I haven't looked
>> at the details, but at least the register definitions [1] are the same?
>
> Yes, I can write a common code for this.
>
> 1. The aips register definitions:
>
> /* AIPS registers */
> struct aipstz_regs {
> u32 mprot0;
> u32 mprot1;
> u32 rsvd[0xe];
> u32 opacr0;
> u32 opacr1;
> u32 opacr2;
> u32 opacr3;
> u32 opacr4;
> };
>
> should be present in each imx-regs.h file (for mx31/35/51/53/6), right?
>
> Or is there a common .h file I could use for placing it in just one location?
There is not, but I am also coming to the conclusion that we need some
sort of common files, exactly as the kernel does with plat-imx. Maybe in
arch/arm/include/asm/plat-imx ? Then all imx-regs.h must include the
common file. I am sure we will add them more things, because there are
several parts that are still duplicated in code.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
prev parent reply other threads:[~2012-03-03 9:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-29 19:44 [U-Boot] [PATCH v2] mx31: Setup AIPS registers Fabio Estevam
2012-02-29 20:03 ` Dirk Behme
2012-02-29 20:56 ` Fabio Estevam
2012-03-01 6:30 ` Dirk Behme
2012-03-01 12:29 ` Fabio Estevam
2012-03-03 9:59 ` Stefano Babic [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F51EB7E.3010306@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox