From: Wolfgang Denk Date: Tue, 18 Jan 2011 00:34:20 +0100 Subject: [U-Boot] [PATCH] p1022ds: allow for board-specific ngPIXIS functions In-Reply-To: <1295304993-19369-1-git-send-email-timur@freescale.com> References: <1295304993-19369-1-git-send-email-timur@freescale.com> Message-ID: <20110117233420.CA965D1CAD5@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 Timur Tabi, In message <1295304993-19369-1-git-send-email-timur@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 > --- > 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?