AS3525: use kernel_init() in bootloader

This way creation of scrolling thread doesn't risk crashing the system

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19026 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2008-11-06 02:31:40 +00:00
parent c3e667c198
commit baecdb632c
3 changed files with 30 additions and 0 deletions

View File

@ -38,6 +38,7 @@ void main(void)
int i;
unsigned char buf[8];
kernel_init();
system_init();
lcd_init();

View File

@ -334,6 +334,7 @@ target/arm/pnx0101/system-pnx0101.c
#if CONFIG_CPU == AS3525
target/arm/as3525/system-as3525.c
target/arm/as3525/kernel-as3525.c
target/arm/as3525/ata_sd_as3525.c
#endif

View File

@ -0,0 +1,28 @@
/***************************************************************************
* __________ __ ___.
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
* \/ \/ \/ \/ \/
* $Id$
*
* Copyright © 2008 Rafaël Carré
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
* KIND, either express or implied.
*
****************************************************************************/
#include "config.h"
#include "system.h"
#include "kernel.h"
void tick_start(unsigned int interval_in_ms)
{
(void)interval_in_ms;
}