u-boot/arch/arm/mach-tegra
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
..
tegra20 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tegra30 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tegra114 SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
tegra124 tegra: Correct tegra124 clock name 2019-05-24 10:13:12 -07:00
tegra186 ARM: tegra: Unify Tegra186 builds 2019-06-05 09:16:34 -07:00
tegra210 ARM: tegra: Remove disp1 clock initialization on Tegra210 2019-06-05 09:16:33 -07:00
ap.c ARM: tegra: avoid more operations in non-secure world 2018-08-21 08:41:00 -07:00
arm64-mmu.c arm64: zynqmp: Move SoC sources to mach-zynqmp 2019-01-24 10:03:44 +01:00
board.c ARM: tegra: Unify Tegra186 builds 2019-06-05 09:16:34 -07:00
board2.c ARM: tegra: Unify Tegra186 builds 2019-06-05 09:16:34 -07:00
cache.c ARM: tegra: Guard GP pad control code with a Kconfig symbol 2019-06-05 09:16:33 -07:00
cboot.c ARM: tegra: Implement cboot_get_ethaddr() 2019-06-05 09:16:34 -07:00
clock.c ARM: tegra: Support TZ-only access to PMC 2019-06-05 09:16:34 -07:00
cmd_enterrcm.c ARM: tegra: Support TZ-only access to PMC 2019-06-05 09:16:34 -07:00
cpu.c ARM: tegra: Support TZ-only access to PMC 2019-06-05 09:16:34 -07:00
cpu.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dt-setup.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
emc.c ARM: tegra: Use common header for PMU declarations 2019-06-05 09:16:33 -07:00
emc.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
gpu.c ARM: tegra: avoid more operations in non-secure world 2018-08-21 08:41:00 -07:00
ivc.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig ARM: tegra: Workaround UDC boot issues only if necessary 2019-06-05 09:16:34 -07:00
Makefile ARM: tegra: Implement cboot_save_boot_params() in C 2019-06-05 09:16:34 -07:00
pinmux-common.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
pmc.c ARM: tegra: Support TZ-only access to PMC 2019-06-05 09:16:34 -07:00
powergate.c ARM: tegra: Support TZ-only access to PMC 2019-06-05 09:16:34 -07:00
psci.S tegra: psci: save context id in cpu_on command 2018-05-07 11:52:55 -04:00
spl.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sys_info.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
xusb-padctl-common.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
xusb-padctl-common.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
xusb-padctl-dummy.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00