public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Why u-boot & linux uses different machineid for at91rm9200dk
Date: Wed, 12 Aug 2009 21:44:31 +0200	[thread overview]
Message-ID: <20090812194431.9155C833DBD2@gemini.denx.de> (raw)
In-Reply-To: <1250062753.2419.8.camel@HunTEr>

Dear vibi sreenivasan,

In message <1250062753.2419.8.camel@HunTEr> you wrote:
>
> 	Why u-boot & linux uses different machine id for at91rm9200dk.

do they? well, which exact versions of U-Boot and Linux are you
talking about?

> 	is seems that u-boot is using 0x000000FB & linux is using
> 	0x00000106.
> 
> 	Can we fix this in u-boot itself ?

In U-Boot I see:

	-> grep MACH_TYPE_AT91RM9200DK include/asm-arm/mach-types.h
	#define MACH_TYPE_AT91RM9200DK         262
	#  define machine_arch_type     MACH_TYPE_AT91RM9200DK
	# define machine_is_at91rm9200dk()      (machine_arch_type ==
	# MACH_TYPE_AT91RM9200DK)

262 = 0x106.

This iseems to be what Linux uses, too, and what is officially
registered.

Maybe you should update your code?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
You can't have everything... where would you put it?  - Steven Wright

  reply	other threads:[~2009-08-12 19:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-12  7:39 [U-Boot] Why u-boot & linux uses different machineid for at91rm9200dk vibi sreenivasan
2009-08-12 19:44 ` Wolfgang Denk [this message]
2009-08-13  6:35   ` vibi sreenivasan
2009-08-22 20:09     ` Ulf Samuelsson

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=20090812194431.9155C833DBD2@gemini.denx.de \
    --to=wd@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