]> git.sur5r.net Git - u-boot/commit
display5: config: Add GPT verification and restoration code on SWUpdate entry
authorLukasz Majewski <lukma@denx.de>
Fri, 11 May 2018 14:51:18 +0000 (16:51 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 18 Jun 2018 13:44:21 +0000 (15:44 +0200)
commit0f05512d1135b034d09b058e2826d9c59cc26a7d
tree43410ece4c02757a1f932c63c279b816d2a421b4
parentbfb504bc7efb0bae6f0f8e865f79062d5ed6b014
display5: config: Add GPT verification and restoration code on SWUpdate entry

If GPT gets broken, then after N boot attempts we will run the SWUpdate
restoration image.
On its enter we will check GPT and restore it if needed.

To test it:
display5 > mmc write 0x12000000 4 8

It will overwrite the primary GPT table.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
include/configs/display5.h