From: Wolfgang Denk Date: Thu, 17 Dec 2009 22:41:24 +0100 Subject: [U-Boot] [PATCH 21/25] Blackfin: section off the CF/IDE io.h hacks In-Reply-To: <1261017850-22802-22-git-send-email-vapier@gentoo.org> References: <1261017850-22802-1-git-send-email-vapier@gentoo.org> <1261017850-22802-22-git-send-email-vapier@gentoo.org> Message-ID: <20091217214124.EB26BD43F21@gemini.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 Dear Mike Frysinger, In message <1261017850-22802-22-git-send-email-vapier@gentoo.org> you wrote: > These need to be rethought, but until that happens, isolate the hack so > that we can extend the common code without breaking things. > > Signed-off-by: Mike Frysinger ... > +#define inb(addr) cf_inb((volatile unsigned char *)(addr)) > +#define outb(x, addr) cf_outb((unsigned char)(x), (volatile unsigned char *)(addr)) > +#define insw(port, addr, count) cf_insw((unsigned short *)(addr), (unsigned short *)(port), (count)) > +#define outsw(port, addr, count) cf_outsw((unsigned short *)(port), (unsigned short *)(addr), (count)) Lines too long. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Philosophy is a game with objectives and no rules. Mathematics is a game with rules and no objectives.