board: sifive: unmatched: add initial support for a platform ID EEPROM
authorZong Li <zong.li@sifive.com>
Wed, 30 Jun 2021 15:23:45 +0000 (23:23 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 6 Jul 2021 12:24:25 +0000 (20:24 +0800)
commit946afdf6209e19ce0b233ff938bc111ddbdceadf
tree05d151d0ea557ac8fe0059e7c6f2e5be3ac07ff8
parentd6b156eb9061b5c6eafe48e3c238178351f772c9
board: sifive: unmatched: add initial support for a platform ID EEPROM

Add initial support for the PCB description EEPROM for SiFive HiFive
Unmatched boards.

This implementation is refactored based on Paul Walmsley's porting and
adopt the suggestions from David Abdurachmanov.

Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Signed-off-by: David Abdurachmanov <david.abdurachmanov@sifive.com>
Signed-off-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
board/sifive/unmatched/Makefile
board/sifive/unmatched/hifive-platform-i2c-eeprom.c [new file with mode: 0644]
include/configs/sifive-unmatched.h