From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Mon, 30 Nov 2015 09:07:50 -0800 Subject: [U-Boot] [PATCH 08/10][v4] driver: net: fsl-mc: Create DPAA2 object at run-time In-Reply-To: <1446620162-21725-9-git-send-email-prabhakar@freescale.com> References: <1446620162-21725-1-git-send-email-prabhakar@freescale.com> <1446620162-21725-9-git-send-email-prabhakar@freescale.com> Message-ID: <565C8266.3090404@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/03/2015 10:55 PM, Prabhakar Kushwaha wrote: > Freescale's DPAA2 ethernet driver depends upon the static DPL for the > DPRC, DPNI, DPBP, DPIO objects. > > Instead of static objects, Create DPNI, DPBP, DPIO objects at run-time. > > Signed-off-by: Prabhakar Kushwaha > --- > Changes for v2: Use Child container for object creation > Changes for v3: > - Avoid linux boot if MC up and DPL is not deployed > - Boot Linux is MC is not booted > Changes for v4: Sending as it is > > board/freescale/ls2085aqds/ls2085aqds.c | 5 +- > board/freescale/ls2085ardb/ls2085ardb.c | 5 +- > drivers/net/fsl-mc/mc.c | 467 +++++++++++++++++++++++++++++--- > drivers/net/ldpaa_eth/ldpaa_eth.c | 4 +- > include/fsl-mc/fsl_mc.h | 5 +- > include/fsl-mc/fsl_mc_private.h | 23 +- > 6 files changed, 468 insertions(+), 41 deletions(-) Applied to fsl-qoriq master. Thanks. York