summaryrefslogtreecommitdiffstats
path: root/bootloader
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-05-11 22:38:09 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-05-11 22:38:09 +0000
commit86e8c283307d3d884a0d5dba3b50fed0e4ad0914 (patch)
tree5f25098df90e991df7ce5b602b3787399fdc3887 /bootloader
parentbc315ad7312ab5d170c6d73bd1c40c414e780d52 (diff)
downloadrockbox-86e8c283307d3d884a0d5dba3b50fed0e4ad0914.tar.gz
rockbox-86e8c283307d3d884a0d5dba3b50fed0e4ad0914.tar.bz2
rockbox-86e8c283307d3d884a0d5dba3b50fed0e4ad0914.zip
fuze+: implement Synaptics RMI driver on top of i2c, add touchpad debug screen, bootloader enters debug screen by default
Since the bootloader currently always fails at storage point (unimplemented), always enter touchpad debug screen and power off which pressing power button. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29859 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/imx233.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bootloader/imx233.c b/bootloader/imx233.c
index cded5a119a..868d6e499f 100644
--- a/bootloader/imx233.c
+++ b/bootloader/imx233.c
@@ -35,6 +35,8 @@
#include "disk.h"
#include "panic.h"
#include "power.h"
+#include "pinctrl-imx233.h"
+#include "system-target.h"
int show_logo(void);
@@ -58,6 +60,10 @@ void main(void)
button_init_device();
+ button_debug_screen();
+
+ power_off();
+
ret = storage_init();
if(ret < 0)
error(EATA, ret, true);