]> git.dujemihanovic.xyz Git - u-boot.git/commit
eeprom: starfive: function get_product_id_from_eeprom()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 2 Apr 2024 08:49:08 +0000 (10:49 +0200)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Tue, 9 Apr 2024 03:30:37 +0000 (11:30 +0800)
commit90e9dcd70952695e6ad63562f3ebe7f8c743f691
tree0faa35c9531300fab6a5f94a9384fcc4b5d24f9e
parent0f6310c7ffc6b11d57ec0fab33a04fd1a229e20e
eeprom: starfive: function get_product_id_from_eeprom()

Export a function get_product_id_from_eeprom() to read the product ID.
This value can be used for fixing up the device-tree on JH7110 based
products.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/include/asm/arch-jh7110/eeprom.h
board/starfive/visionfive2/visionfive2-i2c-eeprom.c