All of lore.kernel.org
 help / color / mirror / Atom feed
From: Priyanka Jain (OSS) <priyanka.jain@oss.nxp.com>
To: u-boot@lists.denx.de
Subject: [PATCH v4 6/6] configs: ls1028a: enable the Ethernet switch driver in defconfig
Date: Fri, 24 Jul 2020 03:59:30 +0000	[thread overview]
Message-ID: <VE1PR04MB6494451D997709B0710CD27BE6770@VE1PR04MB6494.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <1588700588-8587-7-git-send-email-claudiu.manoil@nxp.com>

>-----Original Message-----
>From: U-Boot <u-boot-bounces@lists.denx.de> On Behalf Of Claudiu Manoil
>Sent: Tuesday, May 5, 2020 11:13 PM
>To: u-boot at lists.denx.de
>Cc: joe.hershberger at ni.com; Alexandru Marginean
><alexandru.marginean@nxp.com>; Vladimir Oltean
><vladimir.oltean@nxp.com>
>Subject: [PATCH v4 6/6] configs: ls1028a: enable the Ethernet switch driver in
>defconfig
>
>From: Alex Marginean <alexandru.marginean@nxp.com>
>
>The switch driver for LS1028A Ethernet switch is now compiled in for both
>LS1028A boards.
>
>Signed-off-by: Alex Marginean <alexandru.marginean@nxp.com>
>Signed-off-by: Claudiu Manoil <claudiu.manoil@nxp.com>
>---
> configs/ls1028aqds_tfa_SECURE_BOOT_defconfig | 2 ++
> configs/ls1028aqds_tfa_defconfig             | 2 ++
> configs/ls1028ardb_tfa_SECURE_BOOT_defconfig | 2 ++
> configs/ls1028ardb_tfa_defconfig             | 2 ++
> 4 files changed, 8 insertions(+)
>
>diff --git a/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
>b/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
>index c5f0bd85da..2092009362 100644
>--- a/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
>+++ b/configs/ls1028aqds_tfa_SECURE_BOOT_defconfig
>@@ -56,6 +56,8 @@ CONFIG_DM_MDIO_MUX=y
> CONFIG_E1000=y
> CONFIG_FSL_ENETC=y
> CONFIG_MDIO_MUX_I2CREG=y
>+CONFIG_DM_DSA=y
>+CONFIG_MSCC_FELIX_SWITCH=y
> CONFIG_PCI=y
> CONFIG_DM_PCI=y
> CONFIG_DM_PCI_COMPAT=y
>diff --git a/configs/ls1028aqds_tfa_defconfig
>b/configs/ls1028aqds_tfa_defconfig
>index 7085be77fe..47231f9157 100644
>--- a/configs/ls1028aqds_tfa_defconfig
>+++ b/configs/ls1028aqds_tfa_defconfig
>@@ -62,6 +62,8 @@ CONFIG_DM_MDIO_MUX=y
> CONFIG_E1000=y
> CONFIG_FSL_ENETC=y
> CONFIG_MDIO_MUX_I2CREG=y
>+CONFIG_DM_DSA=y
>+CONFIG_MSCC_FELIX_SWITCH=y
> CONFIG_PCI=y
> CONFIG_DM_PCI=y
> CONFIG_DM_PCI_COMPAT=y
>diff --git a/configs/ls1028ardb_tfa_SECURE_BOOT_defconfig
>b/configs/ls1028ardb_tfa_SECURE_BOOT_defconfig
>index 6fa14af6af..40946e2e61 100644
>--- a/configs/ls1028ardb_tfa_SECURE_BOOT_defconfig
>+++ b/configs/ls1028ardb_tfa_SECURE_BOOT_defconfig
>@@ -53,6 +53,8 @@ CONFIG_DM_MDIO=y
> CONFIG_PHY_GIGE=y
> CONFIG_E1000=y
> CONFIG_FSL_ENETC=y
>+CONFIG_DM_DSA=y
>+CONFIG_MSCC_FELIX_SWITCH=y
> CONFIG_PCI=y
> CONFIG_DM_PCI=y
> CONFIG_DM_PCI_COMPAT=y
>diff --git a/configs/ls1028ardb_tfa_defconfig
>b/configs/ls1028ardb_tfa_defconfig
>index 3ef5520969..9732aa3458 100644
>--- a/configs/ls1028ardb_tfa_defconfig
>+++ b/configs/ls1028ardb_tfa_defconfig
>@@ -60,6 +60,8 @@ CONFIG_DM_MDIO=y
> CONFIG_PHY_GIGE=y
> CONFIG_E1000=y
> CONFIG_FSL_ENETC=y
>+CONFIG_DM_DSA=y
>+CONFIG_MSCC_FELIX_SWITCH=y
> CONFIG_PCI=y
> CONFIG_DM_PCI=y
> CONFIG_DM_PCI_COMPAT=y
>--
>2.17.1
Please fix below build warning
aarch64:  +   ls1028aqds_tfa ls1028aqds_tfa_SECURE_BOOT ls1028ardb_tfa ls1028ardb_tfa_SECURE_BOOT
+drivers/net/mscc_eswitch/felix_switch.c: In function 'felix_init_sxgmii':
+drivers/net/mscc_eswitch/felix_switch.c:197:3: error: implicit declaration of function 'mdelay' [-Werror=implicit-function-declaration]
+  197 |   mdelay(10);
+      |   ^~~~~~
+drivers/net/mscc_eswitch/felix_switch.c: In function 'felix_init':
+drivers/net/mscc_eswitch/felix_switch.c:279:3: error: implicit declaration of function 'udelay' [-Werror=implicit-function-declaration]
+  279 |   udelay(10);
+cc1: all warnings being treated as errors
+make[3]: *** [drivers/net/mscc_eswitch/felix_switch.o] Error 1
+make[2]: *** [drivers/net/mscc_eswitch] Error 2
+make[1]: *** [drivers/net] Error 2
+make: *** [sub-make] Error 2

Regards
Priyanka

  reply	other threads:[~2020-07-24  3:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-05 17:43 [PATCH v4 0/6] Introduce DSA Ethernet switch class and Felix driver Claudiu Manoil
2020-05-05 17:43 ` [PATCH v4 1/6] net: introduce DSA class for Ethernet switches Claudiu Manoil
2020-07-22  9:15   ` Priyanka Jain
2020-05-05 17:43 ` [PATCH v4 2/6] drivers: net: add a DSA sandbox driver Claudiu Manoil
2020-07-24  4:03   ` Priyanka Jain
2020-07-24 10:30     ` Claudiu Manoil
2020-07-27  9:05       ` Priyanka Jain
2020-05-05 17:43 ` [PATCH v4 3/6] test: dm: add a simple unit test for DSA class Claudiu Manoil
2020-05-05 17:43 ` [PATCH v4 4/6] drivers: net: add Felix DSA switch driver Claudiu Manoil
2020-05-05 17:43 ` [PATCH v4 5/6] arm: dts: ls1028a: adds Ethernet switch node and its dependencies Claudiu Manoil
2020-05-05 17:43 ` [PATCH v4 6/6] configs: ls1028a: enable the Ethernet switch driver in defconfig Claudiu Manoil
2020-07-24  3:59   ` Priyanka Jain [this message]
2020-05-29 11:57 ` [PATCH v4 0/6] Introduce DSA Ethernet switch class and Felix driver Claudiu Manoil

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=VE1PR04MB6494451D997709B0710CD27BE6770@VE1PR04MB6494.eurprd04.prod.outlook.com \
    --to=priyanka.jain@oss.nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.