diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-07-29 11:47:03 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2016-07-31 21:45:39 +0200 |
commit | 3f8ea3b06eaf7c9e2456058bcbde32461e73aeb7 (patch) | |
tree | 2b364c088976a23569134f593b2c47e89e2a5b27 /arch/arm/dts/uniphier-ref-daughter.dtsi | |
parent | 97322c3e074d49b1e2c6d98c7e69e5da3093636f (diff) | |
download | u-boot-imx-3f8ea3b06eaf7c9e2456058bcbde32461e73aeb7.zip u-boot-imx-3f8ea3b06eaf7c9e2456058bcbde32461e73aeb7.tar.gz u-boot-imx-3f8ea3b06eaf7c9e2456058bcbde32461e73aeb7.tar.bz2 |
sunxi: On newer SoCs use words 1-3 instead of just word 3 from the SID
It seems that bytes 13-14 of the SID / bytes 1-2 from word 3 of the SID
are always 0 on H3 making it a poor candidate to use as source for the
serialnr / mac-address, and the other non constant words (1 and 2) also
have quite a few bits which are the same for some boards,
This commits switches to using the crc32 of words 1 - 3 to get a
more unique value for the mac-address / serialnr.
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Corentin LABBE <clabbe.montjoie@gmail.com>
Cc: Amit Singh Tomar <amittomer25@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/dts/uniphier-ref-daughter.dtsi')
0 files changed, 0 insertions, 0 deletions