diff options
author | Marek Vasut <marek.vasut+renesas@gmail.com> | 2020-03-15 17:39:01 +0100 |
---|---|---|
committer | marex <marex@desktop.lan> | 2020-05-01 15:37:48 +0200 |
commit | 8148693b988fb36463dbc12cef4b7947acae9846 (patch) | |
tree | 2d61ef846de8f8f3b6bb4600c562c9644e93557e /examples | |
parent | 8eb4fef11b5420020518486ef0305aada0a02467 (diff) | |
download | u-boot-8148693b988fb36463dbc12cef4b7947acae9846.tar.gz u-boot-8148693b988fb36463dbc12cef4b7947acae9846.tar.bz2 u-boot-8148693b988fb36463dbc12cef4b7947acae9846.zip |
net: smc911x: Add DM support
Add support for U-Boot DM and DT probing. Furthermore, build the
SMC911x standalone EEPROM example only for the non-DM case, as it
is not converted yet.
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/standalone/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile index 779e2528b7..4a34813804 100644 --- a/examples/standalone/Makefile +++ b/examples/standalone/Makefile @@ -5,10 +5,13 @@ extra-y := hello_world extra-$(CONFIG_SMC91111) += smc91111_eeprom -extra-$(CONFIG_SMC911X) += smc911x_eeprom extra-$(CONFIG_SPI_FLASH_ATMEL) += atmel_df_pow2 extra-$(CONFIG_PPC) += sched +ifndef CONFIG_DM_ETH +extra-$(CONFIG_SMC911X) += smc911x_eeprom +endif + # # Some versions of make do not handle trailing white spaces properly; # leading to build failures. The problem was found with GNU Make 3.80. |