On Thu, Jul 6, 2017 at 7:41 PM, Andy Shevchenko <andriy.shevche...@linux.intel.com> wrote: > Add Intel Edison board which is using U-Boot. > > The patch is based on work done by the following people (in alphabetical > order): > Aiden Park <aiden.p...@intel.com> > Dukjoon Jeon <dukjoon.j...@intel.com> > eric.park <eric.p...@intel.com> > Fabien Chereau <fabien.cher...@intel.com> > Felipe Balbi <felipe.ba...@linux.intel.com> > Scott D Phillips <scott.d.phill...@intel.com> > Sebastien Colleur <sebastienx.coll...@intel.com> > Steve Sakoman <steve.sako...@intel.com> > Vincent Tinelli <vincent.tine...@intel.com> > > In case we're building for Intel Edison, we must have 4096 bytes of > zeroes in the beginning on u-boot.bin. This is done in > board/intel/edison/config.mk. > > First run sets hardware_id environment variable which is read from > System Controller Unit (SCU). > > Serial number (serial# environment variable) is generated based on eMMC > CID. > > MAC address on USB network interface is unique to the board but kept the > same all over the time. > > Set mac address from U-Boot using following scheme: > OUI = 02:00:86 > next 3 bytes of MAC address set from eMMC serial number > > This allows to have a unique mac address across reboot and flashing. > > Signed-off-by: Vincent Tinelli <vincent.tine...@intel.com> > Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com> > Signed-off-by: Andy Shevchenko <andriy.shevche...@linux.intel.com> > --- > arch/x86/cpu/tangier/Kconfig | 4 ++ > arch/x86/dts/Makefile | 1 + > arch/x86/dts/edison.dts | 89 ++++++++++++++++++++++++++++++++++++ > board/intel/Kconfig | 8 ++++ > board/intel/edison/Kconfig | 26 +++++++++++ > board/intel/edison/Makefile | 7 +++ > board/intel/edison/config.mk | 18 ++++++++ > board/intel/edison/edison.c | 104 > +++++++++++++++++++++++++++++++++++++++++++ > board/intel/edison/start.S | 13 ++++++ > configs/edison_defconfig | 53 ++++++++++++++++++++++ > doc/README.x86 | 39 ++++++++++++++++ > include/configs/edison.h | 61 +++++++++++++++++++++++++ > 12 files changed, 423 insertions(+) > create mode 100644 arch/x86/dts/edison.dts > create mode 100644 board/intel/edison/Kconfig > create mode 100644 board/intel/edison/Makefile > create mode 100644 board/intel/edison/config.mk > create mode 100644 board/intel/edison/edison.c > create mode 100644 board/intel/edison/start.S > create mode 100644 configs/edison_defconfig > create mode 100644 include/configs/edison.h >
Reviewed-by: Bin Meng <bmeng...@gmail.com> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot