[PATCH v2 1/3] common: add prototype & rename populate_serial_number()
Simon Glass
sjg at chromium.org
Mon Oct 2 03:17:34 CEST 2023
On Tue, 26 Sept 2023 at 10:36, Artur Rojek <artur at conclusive.pl> wrote:
>
> Rename populate_serial_number() to a more descriptive
> eeprom_read_serial() 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 at conclusive.pl>
> ---
>
> v2: - rename the function
> - move function documentation from .c file to the prototype location
>
> cmd/tlv_eeprom.c | 14 +-------------
> include/init.h | 14 ++++++++++++++
> 2 files changed, 15 insertions(+), 13 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list