[U-Boot] [PATCH] ppc4xx: Support dual link OSD

Wolfgang Denk wd at denx.de
Tue Jan 18 10:44:19 CET 2011


Dear "Eibach, Dirk",

In message <48D3D52125C49B43AE880038E2E5314BB5BE30 at SRV101.gdsys.de> you wrote:
>  
> So, if you insist, I will convert our code to C struct based access.

Please do.

> Maybe you could point me to a nice clean implementation in u-boot, so I
> can use the semantics you prefer (e.g. how holes in address space are
> labeled).

Check out any of the PPC header files. "Holes" are usually marked as
"reserved" - try for example

	grep reserved arch/powerpc/include/asm/*


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
A well-written program is its own heaven; a poorly-written program is
its own hell.             -- Geoffrey James, "The Tao of Programming"


More information about the U-Boot mailing list