]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: phytec: common: Define PHYTEC_API2_DATA_LEN
authorDaniel Schultz <d.schultz@phytec.de>
Wed, 22 May 2024 06:18:23 +0000 (23:18 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 7 Jun 2024 20:01:53 +0000 (14:01 -0600)
commit38b96407f69469702b60a22aa847bf7675a1f9b7
treeb81d176778dc982064cabac2cc515e4c0bb0a416
parent0329547377756bc1433c46088e9d1d2a2c93ccdd
board: phytec: common: Define PHYTEC_API2_DATA_LEN

The EEPROM image length for API v2 is fixed to 32 bytes. No need
to use sizeof while this value won't change. This value is
also be required for API v3 to know where the API v3 header starts.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
Tested-by: Wadim Egorov <w.egorov@phytec.de>
board/phytec/common/phytec_som_detection.c
board/phytec/common/phytec_som_detection.h