From: Peter Ryser <Peter.Ryser@xilinx.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] v2p4 porting troubles
Date: Tue, 16 Mar 2004 18:02:16 -0800 [thread overview]
Message-ID: <4057B1A8.9040308@xilinx.com> (raw)
In-Reply-To: <009b01c40baa$a324f2b0$cb01a8c0@xiphos.ca>
Joshua,
>The code from Xilinx is as follows...
>
>void XIo_Out32(XIo_Address OutAddress, Xuint32 Value)
>{
> __asm__ volatile ("stw %0,0(%1); eieio" : : "r" (Value), "r"
>(OutAddress));
>}
>
Yes, this code is broken. You can use the work-around as pointed out by
Wolfgang or you can use the xio.h that is part of u-boot and the Linux
kernel.
In u-boot you can find it at board/xilinx/common/xio.h
In Linux you can find it at arch/ppc/platforms/xilinx_ocp/xio.h
I will make sure this piece of code gets fixed in EDK.
- Peter
prev parent reply other threads:[~2004-03-17 2:02 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-16 3:05 [U-Boot-Users] v2p4 porting troubles Joshua Lamorie
2004-03-16 15:43 ` Joshua Lamorie
2004-03-16 16:01 ` Wolfgang Denk
2004-03-16 19:41 ` Eric St-Jean
2004-03-16 20:36 ` Wolfgang Denk
2004-03-16 23:01 ` Joshua Lamorie
2004-03-16 23:40 ` Wolfgang Denk
2004-03-17 9:47 ` Joakim Tjernlund
2004-03-17 11:16 ` Joakim Tjernlund
2004-03-17 2:02 ` Peter Ryser [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=4057B1A8.9040308@xilinx.com \
--to=peter.ryser@xilinx.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