[U-Boot] [PATCH 21/25] Blackfin: section off the CF/IDE io.h hacks

Wolfgang Denk wd at denx.de
Thu Dec 17 22:41:24 CET 2009


Dear Mike Frysinger,

In message <1261017850-22802-22-git-send-email-vapier at 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 <vapier at gentoo.org>
...
> +#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.


More information about the U-Boot mailing list