summaryrefslogtreecommitdiff
path: root/include/cros_ec_message.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-06-26 13:34:42 +0200
committerHans de Goede <hdegoede@redhat.com>2016-07-15 15:54:56 +0200
commitf221961e963fcfa5ceab6455c24d6532877ca923 (patch)
treebaa953d8de95f47fd69adf97551906a60c0a96d9 /include/cros_ec_message.h
parenta29710c525ff43c3031b879e2beac306a09c6944 (diff)
downloadu-boot-imx-f221961e963fcfa5ceab6455c24d6532877ca923.zip
u-boot-imx-f221961e963fcfa5ceab6455c24d6532877ca923.tar.gz
u-boot-imx-f221961e963fcfa5ceab6455c24d6532877ca923.tar.bz2
sunxi: Add support for multiple ethadrr-esses
Currently we fill ethaddr with a fixed unique address based on the SoCs serial (from the sid) to make sure that boards which use the integrated emac / gmac get a fixed mac rather then a random one. On some boards the wifi does not come with a fixed mac either, so we need to also set eth1addr. This commit changes the ethaddr setting code to check for ethernet%d aliases (as fdt_fixup_ethernet does) and set an ethaddr variable for all present aliases. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'include/cros_ec_message.h')
0 files changed, 0 insertions, 0 deletions