mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
bootloader: Share definition of show_logo via common.h
For some reason it was locally defined everywhere. Move a single definition into common.h instead. Change-Id: Ie2fad74acccd89e40fcbb0f47258d2e14e0f8285
This commit is contained in:
parent
5af0a50031
commit
7f0bc4bd95
10 changed files with 25 additions and 44 deletions
|
|
@ -39,3 +39,4 @@ int load_raw_firmware(unsigned char* buf, char* firmware, int buffer_size);
|
|||
#ifdef ROCKBOX_HAS_LOGF
|
||||
void display_logf(void);
|
||||
#endif
|
||||
void show_logo(void);
|
||||
|
|
|
|||
|
|
@ -33,8 +33,6 @@
|
|||
|
||||
static bool is_usb_connected = false;
|
||||
|
||||
extern void show_logo(void);
|
||||
|
||||
static void demo_rtc(void)
|
||||
{
|
||||
int y = 0;
|
||||
|
|
|
|||
|
|
@ -43,9 +43,6 @@
|
|||
#include "lcd.h"
|
||||
#include "version.h"
|
||||
|
||||
/* Show the Rockbox logo - in show_logo.c */
|
||||
extern void show_logo(void);
|
||||
|
||||
#define TAR_CHUNK 512
|
||||
#define TAR_HEADER_SIZE 157
|
||||
|
||||
|
|
|
|||
|
|
@ -23,9 +23,6 @@
|
|||
#include "../kernel-internal.h"
|
||||
#include "system.h"
|
||||
|
||||
/* Show the Rockbox logo - in show_logo.c */
|
||||
extern void show_logo(void);
|
||||
|
||||
int main(void)
|
||||
{
|
||||
/* Initialize Rockbox kernel */
|
||||
|
|
|
|||
|
|
@ -60,9 +60,6 @@
|
|||
void lcd_reset(void);
|
||||
#endif
|
||||
|
||||
/* Show the Rockbox logo - in show_logo.c */
|
||||
extern void show_logo(void);
|
||||
|
||||
/* Button definitions */
|
||||
#if CONFIG_KEYPAD == IRIVER_H10_PAD
|
||||
#define BOOTLOADER_BOOT_OF BUTTON_LEFT
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@
|
|||
#include "adc.h"
|
||||
#include "version.h"
|
||||
|
||||
extern void show_logo(void);
|
||||
extern void power_off(void);
|
||||
|
||||
static void show_splash(int timeout, const char *msg)
|
||||
|
|
|
|||
|
|
@ -32,8 +32,6 @@
|
|||
*/
|
||||
#define LOAD_SIZE 0x700000
|
||||
|
||||
extern void show_logo( void );
|
||||
|
||||
/* This function setup bare minimum
|
||||
* and jumps to rom in order to activate
|
||||
* hardcoded rkusb mode
|
||||
|
|
|
|||
|
|
@ -215,8 +215,6 @@ static void handle_usb(int connect_timeout)
|
|||
usb_close();
|
||||
}
|
||||
|
||||
extern void show_logo(void);
|
||||
|
||||
void main(void)
|
||||
{
|
||||
unsigned char* loadbuffer;
|
||||
|
|
|
|||
|
|
@ -46,9 +46,6 @@
|
|||
#include "loader_strerror.h"
|
||||
#include "version.h"
|
||||
|
||||
/* Show the Rockbox logo - in show_logo.c */
|
||||
extern void show_logo(void);
|
||||
|
||||
/* Address to load main Rockbox image to */
|
||||
#define LOAD_ADDRESS 0x20000000 /* DRAM_START */
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@
|
|||
|
||||
#define SHOW_LOGO
|
||||
|
||||
extern void show_logo(void);
|
||||
extern void power_off(void);
|
||||
|
||||
static int lcd_inited = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue