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

Kumar Gala kumar.gala at freescale.com
Wed Jan 26 07:37:48 CET 2011


On Jan 21, 2011, at 4:03 PM, Timur Tabi 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 |   56 ++++++++++++++++++++++++--------
> board/freescale/common/ngpixis.h |    8 ++++-
> board/freescale/p1022ds/diu.c    |   66 ++++++++++++++++++++++++++++++++++++--
> 3 files changed, 112 insertions(+), 18 deletions(-)

applied to next

- k


More information about the U-Boot mailing list