Re: [PATCH v2 2/6] eeprom: starfive: function get_product_id_from_eeprom()

Leo Liang
2024-03-27T09:13:57Z

On Thu, Mar 21, 2024 at 07:11:45PM +0100, Heinrich Schuchardt wrote:
> 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>
> ---
> v2:
> no change
> ---
> arch/riscv/include/asm/arch-jh7110/eeprom.h | 9 +++++++++
> board/starfive/visionfive2/visionfive2-i2c-eeprom.c | 8 ++++++++
> 2 files changed, 17 insertions(+)

Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>