All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: linuxppc-dev@lists.ozlabs.org
Cc: linuxppc-dev <eftakhar.chowdhury@yahoo.com>
Subject: Re: Read/write BCSR registers of PPC460EX
Date: Mon, 2 May 2011 15:42:45 +0200	[thread overview]
Message-ID: <201105021542.45367.sr@denx.de> (raw)
In-Reply-To: <31523658.post@talk.nabble.com>

Hi Efti,

On Monday 02 May 2011 15:36:15 linuxppc-dev wrote:
> Dear Stefan,
> 
> I have changed CPLD/BCSR address with 0x4E1000000.
> 
> static unsigned long mem_addr =  0x4E1000000;

Thats a 64bit address, so you need this:

static unsigned long long mem_addr =  0x4E1000000ULL;

You should have seen a compilation warning about this too.
 
Cheers,
Stefan

--
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@denx.de

  reply	other threads:[~2011-05-02 13:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-02 11:50 Read/write BCSR registers of PPC460EX linuxppc-dev
2011-05-02 12:40 ` Josh Boyer
2011-05-02 12:53   ` Stefan Roese
2011-05-02 13:36     ` linuxppc-dev
2011-05-02 13:42       ` Stefan Roese [this message]
2011-05-04  5:37         ` Benjamin Herrenschmidt
2011-05-04  5:37   ` Benjamin Herrenschmidt

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=201105021542.45367.sr@denx.de \
    --to=sr@denx.de \
    --cc=eftakhar.chowdhury@yahoo.com \
    --cc=linuxppc-dev@lists.ozlabs.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.