[U-Boot] [PATCH] p1022ds: allow for board-specific ngPIXIS functions

Wolfgang Denk wd at denx.de
Tue Jan 18 00:34:20 CET 2011


Dear Timur Tabi,

In message <1295304993-19369-1-git-send-email-timur at freescale.com> you wrote:
> The ngPIXIS is an FPGA used on the reference boards of most Freescale PowerPC
> SOCs.  Although programming the ngPIXIS is mostly standard on all boards that
> have it, the P1022DS is unique in that the ngPIXIS needs to be programmed in
> "indirect" mode whenever the video display (DIU) is active.
> 
> To support indirect mode, and to make it easier to support other quirks on
> future reference boards, the low-level ngPIXIS functions are all marked as
> weak, so that board-specific code can override any of them.  We take advantage
> of this feature on the P1022DS, so that we can properly reset the board when
> the DIU is active.
> 
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
>  board/freescale/common/ngpixis.c |   54 ++++++++++++++++++++++++--------
>  board/freescale/common/ngpixis.h |    6 +++
>  board/freescale/p1022ds/diu.c    |   64 ++++++++++++++++++++++++++++++++++++-
>  3 files changed, 109 insertions(+), 15 deletions(-)

Just for the record: the merge window is closed, so this is "next"
stuff.

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
How much net work could a network work, if a network could net work?


More information about the U-Boot mailing list