driver: net: fsl-mc: updated copyright infoUpdated copyright info for the issues reported after runningcheck-legal test.Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>Reviewed-by: York
driver: net: fsl-mc: updated copyright infoUpdated copyright info for the issues reported after runningcheck-legal test.Signed-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
show more ...
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So
SPDX: Convert all of our single license tags to Linux Kernel styleWhen U-Boot started using SPDX tags we were among the early adopters andthere weren't a lot of other examples to borrow from. So we picked thearea of the file that usually had a full license text and replaced itwith an appropriate SPDX-License-Identifier: entry. Since then, theLinux Kernel has adopted SPDX tags and they place it as the very firstline in a file (except where shebangs are used, then it's second line)and with slightly different comment styles than us.In part due to community overlap, in part due to better tag visibilityand in part for other minor reasons, switch over to that style.This commit changes all instances where we have a single declaredlicense in the tag as both the before and after are identical in tagcontents. There's also a few places where I found we did not have a tagand have introduced one.Signed-off-by: Tom Rini <trini@konsulko.com>
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 sa
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.Signed-off-by: Wenbin Song <wenbin.song@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
driver: net: fsl-mc: flib changes for MC 10.3.0Existing MC driver framework is based on MC-9.x.x flib. This patchmigrates MC obj (DPBP, DPNI, DPRC, DPMAC etc) to use latest MC flibwhich is MC-10.
driver: net: fsl-mc: flib changes for MC 10.3.0Existing MC driver framework is based on MC-9.x.x flib. This patchmigrates MC obj (DPBP, DPNI, DPRC, DPMAC etc) to use latest MC flibwhich is MC-10.3.0.Changes introduced due to migration:1. To get OBJ token, pair of create and open API replaces create APIs2. Pair of close and destroy APIs replaces destroy APIs3. For version read, get_version APIs replaces get_attributes APIs4. dpni_get/reset_statistics APIs replaces dpni_get/set_counter APIs5. Simplifies struct dpni_cfg and removes dpni_extended_cfg struct6. Single API dpni_get_buffer_layout/set_buffer_layout replaces dpni_get_rx/set_rx, tx related, tx_conf_buffer_layout related APIs. New API takes a queue type as an argument.7. Similarly dpni_get_queue/set_queue replaces dpni_get_rx_flow/set_rx_flow , tx_flow related, tx_conf related APIsSigned-off-by: Yogesh Gaur <yogeshnarayan.gaur@nxp.com>Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>Reviewed-by: York Sun <york.sun@nxp.com>
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>