diff options
Diffstat (limited to 'include/system.h')
-rw-r--r-- | include/system.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/system.h b/include/system.h index e1eec86998..17419007db 100644 --- a/include/system.h +++ b/include/system.h @@ -327,13 +327,14 @@ int system_get_chip_unique_id(uint8_t **id); * Optional board-level callback functions to read a unique serial number per * chip. Default implementation reads from flash/otp (flash/otp_read_serial). */ -const char *board_read_serial(void) __attribute__((weak)); +__override_proto const char *board_read_serial(void); /** * Optional board-level callback functions to write a unique serial number per * chip. Default implementation reads from flash/otp (flash/otp_write_serial). */ -int board_write_serial(const char *serial) __attribute__((weak)); +__override_proto int board_write_serial(const char *serial); + /* * Common bbram entries. Chips don't necessarily need to implement * all of these, error will be returned from system_get/set_bbram if |