UPSTREAM: armv8: ls1043a/ls2080a: check SoC by device IDCheck LS1043A/LS2080a by device ID without using personality ID todetermine revision number. This check applies to all variouspersonalities
UPSTREAM: armv8: ls1043a/ls2080a: check SoC by device IDCheck LS1043A/LS2080a by device ID without using personality ID todetermine revision number. This check applies to all variouspersonalities of the same SoC family.Change-Id: I7be6b46fc17aa7f7a3a40677de0c18c9dd095c52Signed-off-by: Wenbin Song <wenbin.song@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>Signed-off-by: Frank Wang <frank.wang@rock-chips.com>(cherry picked from commit a8f33034f2ed029dd04aae4cfdf11bf1f13a03a2)
show more ...
common: freescale: Move arch-specific declarationsThe declarations should not be in common.h. Move them to the arch-specificheaders.Signed-off-by: Simon Glass <sjg@chromium.org>[trini: Fixup th
common: freescale: Move arch-specific declarationsThe declarations should not be in common.h. Move them to the arch-specificheaders.Signed-off-by: Simon Glass <sjg@chromium.org>[trini: Fixup thinko defined(FSL_LSCH3) -> defined(CONFIG_FSL_LSCH3)]Signed-off-by: Tom Rini <trini@konsulko.com>
driver: fsl-mc: qbman: Add QBMAN 4.1 supportLS2080A SoC family has QBMAN ver 4.0 whereas newerSoCs like LS2088A, LS1088A has QBMAN ver 4.1QBMAN ver 4.0 and ver 4.1 supports dqrr size as 4 and 8 r
driver: fsl-mc: qbman: Add QBMAN 4.1 supportLS2080A SoC family has QBMAN ver 4.0 whereas newerSoCs like LS2088A, LS1088A has QBMAN ver 4.1QBMAN ver 4.0 and ver 4.1 supports dqrr size as 4 and 8 respectively.Add support of to check QBMAN version based on SoC SVR update dqrr_size accordingly update code to support larger dqrr_sizeSigned-off-by: Priyanka Jain <priyanka.jain@nxp.com>Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
driver: net: fsl-mc: Check NULL before pointer dereferenceNULL pointer should be checked before any dereference. This patchmove memest after the NULL pointer check.Signed-off-by: Prabhakar Kush
driver: net: fsl-mc: Check NULL before pointer dereferenceNULL pointer should be checked before any dereference. This patchmove memest after the NULL pointer check.Signed-off-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>Reported-by: Jose Rivera <german.rivera@nxp.com>Acked-by: Joe Hershberger <joe.hershberger@ni.com>Reviewed-by: York Sun <york.sun@nxp.com>
drivers: net: fsl_mc: Compare pointer value qbman_swp_mc_startCurrent code compares the return pointer of functionqbman_cena_write_start with NULL. Instead the value of the returnpointer should b
drivers: net: fsl_mc: Compare pointer value qbman_swp_mc_startCurrent code compares the return pointer of functionqbman_cena_write_start with NULL. Instead the value of the returnpointer should be compared.Signed-off-by: Pratiyush Mohan Srivastava <pratiyush.srivastava@freescale.com>Acked-by: Prabhakar Kushwaha <prabhakar.kushwaha@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
qbman_portal.c: Update BUG_ON() call in qbman_swp_mc_submitWith gcc-5.x we get a warning about the ambiguity of BUG_ON(!a != b) andbecomes BUG_ON((!a) != b). In this case reading of the function
qbman_portal.c: Update BUG_ON() call in qbman_swp_mc_submitWith gcc-5.x we get a warning about the ambiguity of BUG_ON(!a != b) andbecomes BUG_ON((!a) != b). In this case reading of the function leads tous wanting to rewrite this as BUG_ON(a != b).Cc: Prabhakar Kushwaha <prabhakar@freescale.com>Cc: Geoff Thorpe <Geoff.Thorpe@freescale.com>Cc: Haiying Wang <Haiying.Wang@freescale.com>Cc: Roy Pledge <Roy.Pledge@freescale.com>Cc: York Sun <yorksun@freescale.com>Signed-off-by: Tom Rini <trini@konsulko.com>Reviewed-by: Bin Meng <bmeng.cn@gmail.com>Reviewed-by: York Sun <yorksun@freescale.com>
driver: net: fsl-mc: Add create, destroy APIs in flibsCurrent Management Complex Flibs does not support APIs for adding anddestroying the objects.Add APIs to create and destroy objects for DPBP,
driver: net: fsl-mc: Add create, destroy APIs in flibsCurrent Management Complex Flibs does not support APIs for adding anddestroying the objects.Add APIs to create and destroy objects for DPBP, DPIO, DPNI and DPRC.Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>Reviewed-by: York Sun <yorksun@freescale.com>
drivers/fsl-mc: flib changes for mc 8.0.0MC firware version 8.0.0 contains new command flags. This patchcontains modifications in FLIB files to support the new command flags.Signed-off-by: Itai
drivers/fsl-mc: flib changes for mc 8.0.0MC firware version 8.0.0 contains new command flags. This patchcontains modifications in FLIB files to support the new command flags.Signed-off-by: Itai Katz <itai.katz@freescale.com>Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>Reviewed-by: York Sun <yorksun@freescale.com>
drivers: fsl-mc: Update qbman driverUpdate qbman driver - As per latest available qbman driver - Use of atomic APIsSigned-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>CC: Geoff Thorpe <
drivers: fsl-mc: Update qbman driverUpdate qbman driver - As per latest available qbman driver - Use of atomic APIsSigned-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>CC: Geoff Thorpe <Geoff.Thorpe@freescale.com>CC: Haiying Wang <Haiying.Wang@freescale.com>CC: Roy Pledge <Roy.Pledge@freescale.com>Reviewed-by: York Sun <yorksun@freescale.com>
driver/fsl-mc: Add support of MC FlibsFreescale's Layerscape Management Complex (MC) provide support variousobjects like DPRC, DPNI, DPBP and DPIO.Where: DPRC: Place holdes for other MC objectes
driver/fsl-mc: Add support of MC FlibsFreescale's Layerscape Management Complex (MC) provide support variousobjects like DPRC, DPNI, DPBP and DPIO.Where: DPRC: Place holdes for other MC objectes like DPNI, DPBP, DPIO DPBP: Management of buffer pool DPIO: Used for used to QBMan portal DPNI: Represents standard network interfaceThese objects are used for DPAA ethernet drivers.Signed-off-by: J. German Rivera <German.Rivera@freescale.com>Signed-off-by: Lijun Pan <Lijun.Pan@freescale.com>Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com>Signed-off-by: Geoff Thorpe <Geoff.Thorpe@freescale.com>Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>Signed-off-by: Cristian Sovaiala <cristian.sovaiala@freescale.com>Signed-off-by: pankaj chauhan <pankaj.chauhan@freescale.com>Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com>Reviewed-by: York Sun <yorksun@freescale.com>