public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Robert P. J. Day <rpjday@crashcourse.ca>
To: u-boot@lists.denx.de
Subject: [U-Boot] any potential problems with beagle using OMAP34XX macros?
Date: Tue, 17 Nov 2009 03:06:09 -0500 (EST)	[thread overview]
Message-ID: <alpine.LFD.2.00.0911170300290.24653@localhost> (raw)


  i asked about this on the beagleboard list but i figure i can ask
here as well.  while the beagleboard is based on the OMAP3530, if you
check out board/ti/beagle:

$ grep OMAP3 *
beagle.c:	gd->bd->bi_arch_number = MACH_TYPE_OMAP3_BEAGLE;
beagle.c:	gd->bd->bi_boot_params = (OMAP34XX_SDRC_CS0 + 0x100);
beagle.c:	struct gpio *gpio5_base = (struct gpio *)OMAP34XX_GPIO5_BASE;
beagle.c:	struct gpio *gpio6_base = (struct gpio *)OMAP34XX_GPIO6_BASE;
beagle.h:	"OMAP3 Beagle board",
config.mk:# Beagle Board uses OMAP3 (ARM-CortexA8) cpu
$

  as in, note the references to OMAP34XX macros, not OMAP35XX.  and
that's because, in include/configs/omap3_beagle.h, all of the
references seem to be to OMAP34XX, such as:

/*
 * High Level Configuration Options
 */
#define CONFIG_ARMCORTEXA8      1       /* This is an ARM V7 CPU core */
#define CONFIG_OMAP             1       /* in a TI OMAP core */
#define CONFIG_OMAP34XX         1       /* which is a 34XX */
#define CONFIG_OMAP3430         1       /* which is in a 3430 */
#define CONFIG_OMAP3_BEAGLE     1       /* working with BEAGLE */

  almost all of the macros under include/asm/arch-omap3 are defined in
terms of OMAP34XX as well and while that may work fine for now, is
there any chance that could cause conflicts down the road?

rday
--



========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

             reply	other threads:[~2009-11-17  8:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-17  8:06 Robert P. J. Day [this message]
2009-11-17  8:41 ` [U-Boot] any potential problems with beagle using OMAP34XX macros? Dirk Behme

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=alpine.LFD.2.00.0911170300290.24653@localhost \
    --to=rpjday@crashcourse.ca \
    --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