diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2019-06-11 23:06:53 +0200 |
---|---|---|
committer | Christian Lamparter <chunkeey@gmail.com> | 2019-06-15 19:55:31 +0200 |
commit | cd6c3535cd2c7779a8d65f792c36082ee3822c11 (patch) | |
tree | a3c8f32b94522d16123a1f1f1566a06222048600 /target/linux/brcm63xx/patches-4.14/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch | |
parent | bdbb679adb976f0d2f06e4acbd5a34f63fc949d5 (diff) | |
download | upstream-cd6c3535cd2c7779a8d65f792c36082ee3822c11.tar.gz upstream-cd6c3535cd2c7779a8d65f792c36082ee3822c11.tar.bz2 upstream-cd6c3535cd2c7779a8d65f792c36082ee3822c11.zip |
gemini: Use library functions to assign MAC address
This simplifies the ethernet address extraction script
by using standard library functions to locate the MTD
partitions and extract ethernet address from a binary
offset location in the flash. Furthermore, the aging
ifconfig is replaced by the ip tool, which will now
assign the MAC addresses.
Suggested-by: Christian Lamparter <chunkeey@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
[ifconfig replacement, use -n instead of ! -z,
-n requires string to be quoted within the test brackets,
drop prepended "x" in check, add quotes, make local
variables local, kill whitespaces]
Diffstat (limited to 'target/linux/brcm63xx/patches-4.14/369-MIPS-BCM63XX-populate-the-compatible-to-board_info-l.patch')
0 files changed, 0 insertions, 0 deletions