zenxfi2: rework dualboot
commitaad4308f0376fbb69880d5c035be498ee0bb1965
authorAmaury Pouly <amaury.pouly@gmail.com>
Mon, 28 Jan 2013 19:13:24 +0000 (28 19:13 +0000)
committerAmaury Pouly <amaury.pouly@gmail.com>
Mon, 28 Jan 2013 19:15:38 +0000 (28 19:15 +0000)
tree5f4f0887746d5612d589b0856826affa885b2924
parent189148e70128d037f7bd541f2c1f21aa783000d9
zenxfi2: rework dualboot

The previous dualboot scheme had a major flow: it needed to hold
menu to boot OF but the X-Fi2 boot in recovery mode with menu!
It was possible but very trick to enter the OF with USB plugged.
This code provides a new scheme:
- no USB plugged: boot to OF when menu is pressed
- USB plugged: boot to OF when power is pressed

Change-Id: Ia6e76d3ada1f67137b727daa050cf6c77afbbfb9
rbutil/mkimxboot/dualboot.c
rbutil/mkimxboot/dualboot.h
rbutil/mkimxboot/dualboot/dualboot.S