]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: add prototype & rename populate_serial_number()
authorArtur Rojek <artur@conclusive.pl>
Wed, 18 Oct 2023 14:00:56 +0000 (16:00 +0200)
committerEugen Hristev <eugen.hristev@collabora.com>
Mon, 23 Oct 2023 14:07:06 +0000 (17:07 +0300)
commitcd3dbb56874dbf0f85c4c36958e29c2515374a6b
treef3e4592ab103aa35904aaeacbcc1e1f60fb886eb
parent9a3a58396b78b1f9d0c14580dc03f81d29207dd2
common: add prototype & rename populate_serial_number()

Rename populate_serial_number() to a more descriptive
serial_read_from_eeprom() and provide the missing function prototype.

This is useful for boards that wish to read their serial number from
EEPROM at init.

Signed-off-by: Artur Rojek <artur@conclusive.pl>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/tlv_eeprom.c
include/init.h