summaryrefslogtreecommitdiffstats
path: root/arch/arc/plat-sim
diff options
context:
space:
mode:
authorAlexey Brodkin <abrodkin@synopsys.com>2018-08-02 13:19:37 +0300
committerVineet Gupta <vgupta@synopsys.com>2018-08-27 09:00:36 -0700
commit5c0920897af59779546e9ea0e89c5db45c8aff33 (patch)
tree041a21b1a3043c6b046271eb0d7601c0060a7538 /arch/arc/plat-sim
parent4051c323c59b535cfb7dc10b349544b4ad49c21e (diff)
downloadlinux-stable-5c0920897af59779546e9ea0e89c5db45c8aff33.tar.gz
linux-stable-5c0920897af59779546e9ea0e89c5db45c8aff33.tar.bz2
linux-stable-5c0920897af59779546e9ea0e89c5db45c8aff33.zip
ARC: [plat-axs*/plat-hsdk]: Allow U-Boot to pass MAC-address to the kernel
Otherwise kernel uses random MAC which is not very conveniet. With that change in place use might set desired MAC in U-Boot with "setenv ethaddr 11:22:33:44:55:66", save environment and then from boot to boot the same MAC will be used by the kernel. One other note for this to happen it's required to pass board's .dtb in U-Boot's "bootm" command like that: ------------------->8----------------- bootm 0x82000000 - 0x84000000 ------------------->8----------------- Here 0x82000000 is location of uImage while 0x80000000 is location of either axs10x.dtb or hsdk.dtb previously loaded from SD-card, USB storage or TFTP server. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: stable@vger.kernel.org # 4.14 Cc: devicetree@vger.kernel.org Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/plat-sim')
0 files changed, 0 insertions, 0 deletions