From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ilya Yanok Date: Thu, 14 May 2009 14:26:23 +0400 Subject: [U-Boot] [PATCH 01/10] mx27: basic cpu support In-Reply-To: <20090514094212.2E760832E416@gemini.denx.de> References: <1241634633-13917-1-git-send-email-yanok@emcraft.com> <1241634633-13917-2-git-send-email-yanok@emcraft.com> <20090506211604.289C483420E8@gemini.denx.de> <4A0B4F9A.8030503@emcraft.com> <20090514081007.AF05C832E416@gemini.denx.de> <4A0BE30F.9070902@emcraft.com> <20090514094212.2E760832E416@gemini.denx.de> Message-ID: <4A0BF1CF.9030907@emcraft.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Wolfgang, Wolfgang Denk wrote: >> I see. PowerPC in Linux uses C structs too. But there are still a lot of >> code that uses registers offsets in Linux, so my arguments are the same: >> requirement to convert offsets to C struct brings additional >> difficulties to porting (and maintaining already ported) drivers from Linux. >> > > I understand your argument, but the decision has been made. We want to > get rid of this pointer stuff in U-Boot, and do not accept any new > code like this any more. > Another issue I've just faced: how we are going to access IO registers from assembler code? I don't think we have that asm-offsets stuff in U-Boot... Regards, Ilya.