From: York Sun Date: Tue, 09 Jan 2007 10:06:00 -0600 Subject: [U-Boot-Users] PCI MEM I/O space allocation In-Reply-To: <20070109154838.3F1DB352671@atlas.denx.de> References: <20070109154838.3F1DB352671@atlas.denx.de> Message-ID: <1168358761.2903.19.camel@localhost.localdomain> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, 2007-01-09 at 16:48 +0100, Wolfgang Denk wrote: > > There isn't one. I mean back to kernel's way. Why should U-boot use > > different way from kernel to allocate resources since most PCI parts are > > similar (equivalent) to kernel? > > This is not a change "back" then, as we never used this setup before. > > > Yes, I know. Hopefully not too much. This change will only change the > > I think such a change affects about 128 boards... > > *ALL* of these need thorough regression testing after such a > significant change. > > I wouldn't do this lightly... All right. I will do it in my branch and not to submit patch for this. > > > allocation direction. Once U-boot has same algorithm with kernel, it is > > easier to maintain in the future. > > What exactly is the problem you're trying to fix? The fact that it's > different is IMHO not enough of a reason to change it. The problem is some bridges have 64K limitation on I/O space, which requires special care in allocation. I am fixing it in the kernel. Regards, York