summaryrefslogtreecommitdiffstats
path: root/flash/bootloader/bootloader.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-10-12 22:10:22 +0000
committerJens Arnold <amiconn@rockbox.org>2008-10-12 22:10:22 +0000
commitca99f8efa49fbc053ea3a264c5cc23bda3b2a50c (patch)
treef0924d9866b1a6323ca58be4b5e67e42ea8c5753 /flash/bootloader/bootloader.h
parent142ac2a35af99ddd80636b8973c5ee082550c215 (diff)
downloadrockbox-ca99f8efa49fbc053ea3a264c5cc23bda3b2a50c.tar.gz
rockbox-ca99f8efa49fbc053ea3a264c5cc23bda3b2a50c.tar.bz2
rockbox-ca99f8efa49fbc053ea3a264c5cc23bda3b2a50c.zip
Archos flash loader: compile with -Os and make all internal functions static to save space. main() and _main() must not be static or they wouldn't end up in IRAM for execution. * Also make some bootbox functions static, and drop the useless return value from charging_screen().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18791 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'flash/bootloader/bootloader.h')
-rw-r--r--flash/bootloader/bootloader.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/flash/bootloader/bootloader.h b/flash/bootloader/bootloader.h
index fc6bcb1eed..948311f55d 100644
--- a/flash/bootloader/bootloader.h
+++ b/flash/bootloader/bootloader.h
@@ -76,26 +76,9 @@ typedef struct
#define FLASH_BASE 0x02000000 // start of the flash memory
#define FW_VERSION *(unsigned short*)(FLASH_BASE + 0xFE) // firmware version
-
// prototypes
void _main(void) __attribute__ ((section (".startup")));
int main(void);
-void PlatformInit(void);
-void DramInit(void);
-int ucl_nrv2e_decompress_8(const UINT8 *src, UINT8 *dst, UINT32* dst_len);
-void DecompressStart(tImage* pImage);
-#ifdef USE_ADC
-int ReadADC(int channel);
-#endif
-int ButtonPressed(void);
-tImage* GetStartImage(int nPreferred);
-// test functions
-void SetLed(BOOL bOn);
-void UartInit(void);
-UINT8 UartRead(void);
-void UartWrite(UINT8 byte);
-void MiniMon(void);
-
// minimon commands
#define BAUDRATE 0x00 // followed by BRR value; response: command byte