summaryrefslogtreecommitdiffstats
path: root/bootloader/mrobe500.c
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2007-09-22 06:04:14 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2007-09-22 06:04:14 +0000
commit4a42723c33faf11c663c2ea162b0a2eb93b42a02 (patch)
tree229dfd539d1301a8c3af5194bc893ee3d15669af /bootloader/mrobe500.c
parente571cfb070c5f8740e449374654045526b4b0e36 (diff)
downloadrockbox-4a42723c33faf11c663c2ea162b0a2eb93b42a02.tar.gz
rockbox-4a42723c33faf11c663c2ea162b0a2eb93b42a02.tar.bz2
rockbox-4a42723c33faf11c663c2ea162b0a2eb93b42a02.zip
Seperate M:Robe crt0.S, fix the vector tables for the bootloader, and show touchscreen values on single line.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14814 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/mrobe500.c')
-rwxr-xr-xbootloader/mrobe500.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/bootloader/mrobe500.c b/bootloader/mrobe500.c
index 50c2acb9bd..1bfadd4769 100755
--- a/bootloader/mrobe500.c
+++ b/bootloader/mrobe500.c
@@ -41,13 +41,15 @@
#include "spi-target.h"
#include "uart-target.h"
+extern int line;
+
void main(void)
{
- unsigned char* loadbuffer;
+/* unsigned char* loadbuffer;
int buffer_size;
int rc;
int(*kernel_entry)(void);
-
+*/
power_init();
system_init();
kernel_init();
@@ -115,12 +117,14 @@ void main(void)
unsigned char out[] = {command >> 8, command & 0xff};
unsigned char in[8];
dm320_spi_block_transfer(out, sizeof(out), in, sizeof(in));
-
+
printf("%02x%02x %02x%02x %02x%02x %02x%02x\n",
in[0], in[1],
in[2], in[3],
in[4], in[5],
in[6], in[7]);
+ line--;
+
}
#if 0
rc = ata_init();