]> git.baikalelectronics.ru Git - uboot.git/commit
tlv_eeprom: Return -ENOSYS when system call is not available
authorSimon Glass <sjg@chromium.org>
Wed, 24 Mar 2021 21:26:07 +0000 (10:26 +1300)
committerSimon Glass <sjg@chromium.org>
Tue, 6 Apr 2021 04:33:19 +0000 (16:33 +1200)
commit89002376126eeb4e15fc4b5c9bcb221f3d4d7699
treeec4870ef454857667bf2e0f5d643cfc0c24114ae
parent9a2213a3741d8191a6171cb2d780c16fd1be8cdd
tlv_eeprom: Return -ENOSYS when system call is not available

When CMD_TLV_EEPROM is not enabled, use -ENOSYS, which is the correct
error code for U-Boot.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/tlv_eeprom.h