diff options
author | Pali Rohár <pali@kernel.org> | 2022-07-28 11:07:13 +0800 |
---|---|---|
committer | Peng Fan <peng.fan@nxp.com> | 2022-07-29 19:49:13 +0800 |
commit | 78aa3fb15eb7f9c0a1b646a5e54c3dd2195b4afb (patch) | |
tree | dc61d92c7fa0be126fb338857782d8798dcf2eb5 /include/tpm_api.h | |
parent | 3480879a5598735753e8dffda8c38791d19fd467 (diff) |
board: freescale: p1_p2_rdb_pc: Fix parsing inverted bits from boot input data
On some boards upper 4 bits of i2c boot input data (register 0) are
inverted. Information which bits are inverted is stored in register 2.
So invert read input data back according to register 2 prior processing
them. This fixes printing "rom_loc: value" line during booting.
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/tpm_api.h')
0 files changed, 0 insertions, 0 deletions