From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 5 Apr 2021 21:34:29 -0700 Subject: [PATCH v3 5/9] tlv_eeprom: Return -ENOSYS when system call is not available In-Reply-To: <20210324212612.34613-6-sjg@chromium.org> References: <20210324212612.34613-6-sjg@chromium.org> <20210324212612.34613-1-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de When CMD_TLV_EEPROM is not enabled, use -ENOSYS, which is the correct error code for U-Boot. Signed-off-by: Simon Glass --- (no changes since v1) include/tlv_eeprom.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) Applied to u-boot-dm, thanks!