commit | 78aa3fb15eb7f9c0a1b646a5e54c3dd2195b4afb | [log] [tgz] |
---|---|---|
author | Pali Rohár <pali@kernel.org> | Thu Jul 28 11:07:13 2022 +0800 |
committer | Peng Fan <peng.fan@nxp.com> | Fri Jul 29 19:49:13 2022 +0800 |
tree | dc61d92c7fa0be126fb338857782d8798dcf2eb5 | |
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>