public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 3/3] MX31: Add NAND SPL boot support to	i.MX31 PDK board.
Date: Tue, 12 May 2009 02:25:53 +0200	[thread overview]
Message-ID: <20090512002553.GF18336@game.jcrosoft.org> (raw)
In-Reply-To: <59b21cf20905102353m485acbe7l2e486ad0894266dc@mail.gmail.com>

> 
> >>
> >> >> +
> >> >> +.globl lowlevel_init
> >> >> +lowlevel_init:
> >> >> + ? ? /* Also setup the Peripheral Port Remap register inside the core */
> >> >> + ? ? ldr ? ? r0, =ARM_PPMRR ? ? ?/* start from AIPS 2GB region */
> >> >> + ? ? mcr ? ? p15, 0, r0, c15, c2, 4
> >> >> +
> >> > for all hard code value please use macro
> >> > and if possible macro to generate them
> >>
> >> Hmm. You want me to create a macro that expands to the above code?
> > no I mean macro for 0xB8001010, 0x0000000c, etc...
> > and if possible macro to generate these value
> 
> I'm no .macro expert so I can't promise anything.
there nothing to do with .macro
it's somthing like this

#define TOTO1
#define TOTO2
#define TOTO3

	and use TOTOx to generate 0x0000000c

please take a look in drivers/net/smc911x.h
as example

Best Regards,
J.

  reply	other threads:[~2009-05-12  0:25 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-03 19:56 [U-Boot] [PATCH v2 0/3] MX31: NAND boot for phyCORE and PDK boards Magnus Lilja
2009-05-03 19:56 ` [U-Boot] [PATCH v2 1/3] MX31: Add NAND SPL for i.MX31 Magnus Lilja
2009-05-03 19:56   ` [U-Boot] [PATCH v2 2/3] MX31: Add basic support for Freescale i.MX31 PDK board Magnus Lilja
2009-05-03 19:56     ` [U-Boot] [PATCH v2 3/3] MX31: Add NAND SPL boot support to " Magnus Lilja
2009-05-09 21:28       ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-10 19:33         ` Magnus Lilja
2009-05-10 20:39           ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-10 21:33             ` Wolfgang Denk
2009-05-10 22:18               ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-11  6:52                 ` Wolfgang Denk
2009-05-12  0:27                   ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-11  6:53             ` Magnus Lilja
2009-05-12  0:25               ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2009-05-12 20:49             ` Magnus Lilja
2009-05-12 21:02               ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-09 21:17     ` [U-Boot] [PATCH v2 2/3] MX31: Add basic support for Freescale " Jean-Christophe PLAGNIOL-VILLARD
2009-05-10 19:32       ` Magnus Lilja
2009-05-10 20:32         ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-11  6:47           ` Magnus Lilja
2009-05-09 21:04   ` [U-Boot] [PATCH v2 1/3] MX31: Add NAND SPL for i.MX31 Jean-Christophe PLAGNIOL-VILLARD
2009-05-10 19:31     ` Magnus Lilja
2009-05-10 20:34       ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-11 16:48         ` Magnus Lilja
2009-05-11 19:03         ` Magnus Lilja
2009-05-12  0:22           ` Jean-Christophe PLAGNIOL-VILLARD
2009-05-12  4:03             ` Magnus Lilja
2009-05-12 16:52               ` Scott Wood
2009-05-29 21:34   ` Scott Wood
2009-05-30  7:54     ` Magnus Lilja
2009-06-01 17:06       ` Scott Wood
2009-06-01 20:18         ` Magnus Lilja
2009-06-01 20:21       ` Magnus Lilja
2009-06-01 20:39         ` Scott Wood
2009-06-01 20:42           ` Magnus Lilja

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=20090512002553.GF18336@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.com \
    --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