From: Wolfgang Denk Date: Tue, 29 Nov 2005 10:50:56 +0100 Subject: [U-Boot-Users] IO access in U-BOOT In-Reply-To: Your message of "Tue, 29 Nov 2005 16:50:43 +0800." Message-ID: <20051129095056.894D3353F54@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message you wrote: > aGkgdGVycnkNCg0KPmhpLA0KPg0KPkkgdXNlIHRoZSBBUk05MjZlanMsIGl0IG5lZWQgc2V0IHRo > ZSBJL08gYXMgaW5wdXQsIG91dHB1dCBvciBvdGhlcg0KPnN0YXR1cy4gQWxzbyBpdCBuZWVkIHJl > YWQgdGhlIEkvTyBwb3J0LkFuZCAiYWxsIElPIGlzIG1lbW9yeSBtYXBwZWQiLg0KPkluIHUtYm9v > dCBob3cgdG8gc3VwcG9ydCB0aGlzLCB3aGVyZSB0byBjb25maWd1cmUgaXQsIG9yIGl0IG5lZWQg > d3JpdGUNCj5ieSBteXNlbGYuDQo+DQpJbiBjb252ZW50aW9uIHUtYm9vdCBkbyBpdCBpbiBjcHUv > PHlvdSBjcHUgaWQ+L3N0YXJ0LlMNCg0KCQkJYmVzdCByZWdhcmRzDQoNCgkJCQkgDQqhoaGhoaGh > oaGhoaGhoaGhssy2sA0KoaGhoaGhoaGhoaGhoaGhoWNhaWRvbmdAa2VkYWNvbS5jb20NCqGhoaGh > oaGhoaGhoaGhoaGhoaGhMjAwNS0xMS0yOQ0KDQo= Grrrghhhh .... posting nonsense, and then base64 encoded, too! Please do not send base 64 encoded messages. Please send plain text only. >I use the ARM926ejs, it need set the I/O as input, output or other >status. Also it need read the I/O port.And "all IO is memory mapped". >In u-boot how to support this, where to configure it, or it need write >by myself. > In convention u-boot do it in cpu//start.S NO!!!! *Never* place any board dependent code in any files in cpu/ - such code obviously belongs to your board-specific code in board/ Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "How is this place run - is it an anarchy?" "No, I wouldn't say so; it is not that well organised..."