u-boot/arch/arm
Thierry Reding 34e12e03c7 ARM: tegra: Implement cboot_get_ethaddr()
This function will attempt to look up an Ethernet address in the DTB
that was passed in from cboot. It does so by first trying to locate the
default Ethernet device for the board (identified by the "ethernet"
alias) and if found, reads the "local-mac-address" property. If the
"ethernet" alias does not exist, or if it points to a device tree node
that doesn't exist, or if the device tree node that it points to does
not have a "local-mac-address" property or if the value is invalid, it
will fall back to the legacy mechanism of looking for the MAC address
stored in the "nvidia,ethernet-mac" or "nvidia,ether-mac" properties of
the "/chosen" node.

The MAC address is then written to the default Ethernet device for the
board (again identified by the "ethernet" alias) in U-Boot's control
DTB. This allows the device driver for that device to read the MAC
address from the standard location in device tree.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Tom Warren <twarren@nvidia.com>
2019-06-05 09:16:34 -07:00
..
cpu armv7: timer: init timer with bootstage 2019-05-23 11:36:47 +02:00
dts arm: mvebu: helios4: add MMC to SPL DT 2019-06-04 08:33:24 +02:00
include ARM: tegra: Implement cboot_get_ethaddr() 2019-06-05 09:16:34 -07:00
lib CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-aspeed regmap: change regmap_init_mem() to take ofnode instead udevice 2018-05-07 15:49:51 -04:00
mach-at91 spl: fix linker size check off-by-one errors 2019-05-05 08:48:50 -04:00
mach-bcm283x arm: Kconfig: spelling fixes 2019-01-18 09:16:15 -05:00
mach-bcmstb board: arm: Add support for Broadcom BCM7260 2018-09-10 21:19:31 -04:00
mach-davinci ipam390: remove board 2019-05-28 13:58:06 -04:00
mach-exynos CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-highbank SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-imx CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-integrator
mach-k3 arm: k3: config.mk: Use k3_gen_x509_cert.sh to generate boot images 2019-05-09 20:22:05 -04:00
mach-keystone CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-kirkwood CONFIG_SYS_[DI]CACHE_OFF: convert to Kconfig 2019-05-18 08:15:34 -04:00
mach-mediatek ARM: mediatek: mt8516: use PSCI to reset the SoC 2019-05-18 12:32:00 -04:00
mach-meson ARM: meson-gx: Reset GXL/GXM to external PHY when not using internal PHY 2019-05-31 10:04:15 +02:00
mach-mvebu arm: mvebu: Add CRS305-1G-4S board 2019-05-09 07:35:04 +02:00
mach-omap2 mcx: remove board 2019-05-28 13:58:06 -04:00
mach-orion5x arm: remove prototype for get_timer_masked 2018-10-10 13:35:09 -04:00
mach-owl board: Add uCRobotics Bubblegum-96 board support 2018-07-09 15:25:23 -04:00
mach-qemu Kconfig: Sort bool, default, select and imply options 2018-07-30 07:18:48 -04:00
mach-rmobile ARM: rmobile: Add recovery SPL for R-Car Gen3 2019-05-21 22:15:31 +02:00
mach-rockchip rockchip: Cleanup of make_fit_atf.py. 2019-05-30 18:22:35 +08:00
mach-s5pc1xx CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-snapdragon arm: mach-snapdragon: pinctrl: clarify gpio disable bit 2019-01-25 12:12:56 -05:00
mach-socfpga ARM: socfpga: Clear PL310 early in SPL 2019-05-24 00:01:08 +02:00
mach-sti
mach-stm32 mach-stm32: Add MPU region for spi-nor memory mapped region 2019-05-06 09:50:19 +02:00
mach-stm32mp stm32mp1: ram: add support for LPDDR2/LPDDR3 2019-05-23 11:38:11 +02:00
mach-sunxi Merge branch 'master' of git://git.denx.de/u-boot-sunxi 2019-05-20 13:53:51 -04:00
mach-tegra ARM: tegra: Implement cboot_get_ethaddr() 2019-06-05 09:16:34 -07:00
mach-uniphier ARM: uniphier: do not modify bootcmd environment variable at run-time 2018-12-29 11:38:33 +09:00
mach-versal arm64: versal: Move IOU_SWITCH_DIVISOR0 to Kconfig 2019-02-14 14:31:10 +01:00
mach-versatile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
mach-zynq CONFIG_SPL_SYS_[DI]CACHE_OFF: add 2019-05-18 08:15:35 -04:00
mach-zynqmp arm64: zynqmp: fix preprocessor check for SPL_ZYNQMP_TWO_SDHCI 2019-04-16 11:52:02 +02:00
mach-zynqmp-r5 arm: zynqmp: Add ZynqMP minimal R5 support 2018-05-11 09:38:23 +02:00
thumb1/include/asm/proc-armv SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
config.mk efi_loader: Rename sections to allow for implicit data 2018-07-25 14:57:44 +02:00
Kconfig stm32mp1: migrate PREBOOT to Kconfig 2019-05-23 11:36:46 +02:00
Kconfig.debug
Makefile arm: imx: build mach-imx for i.MX8 2019-01-28 20:35:47 +01:00