summaryrefslogtreecommitdiff
path: root/rbutil/ipodpatcher/ipodpatcher.h
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2012-07-01 12:29:47 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2012-07-01 12:34:59 +0200
commitbf1c491c2b510648a3c1efc2c381e30635248d18 (patch)
tree039f50a8c5eaae0270e5ae295de4ee23a9ded9ed /rbutil/ipodpatcher/ipodpatcher.h
parentd8f5a00fc1cd8beff431bd236377b3fccece29fd (diff)
downloadrockbox-bf1c491c2b510648a3c1efc2c381e30635248d18.tar.gz
rockbox-bf1c491c2b510648a3c1efc2c381e30635248d18.zip
Move check for existing bootloader to ipodpatcher.
Bootloader handling is different on nano2g compared to the other supported Ipod models. Since ipodpatcher handles this internally make ipodpatcher also provide a way to check this when using from Rockbox Utility to avoid duplicating the (already existing) checks in the latter. Fixes wrong "bootloader already installed" message on nano2g. Change-Id: Ibc658d775fbac7cf9a7e329d445fe97828a455d8
Diffstat (limited to 'rbutil/ipodpatcher/ipodpatcher.h')
-rw-r--r--rbutil/ipodpatcher/ipodpatcher.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/rbutil/ipodpatcher/ipodpatcher.h b/rbutil/ipodpatcher/ipodpatcher.h
index 30a1b1e9fd..dc3f100520 100644
--- a/rbutil/ipodpatcher/ipodpatcher.h
+++ b/rbutil/ipodpatcher/ipodpatcher.h
@@ -69,6 +69,7 @@ void ipod_get_ramsize(struct ipod_t* ipod);
69int read_aupd(struct ipod_t* ipod, char* filename); 69int read_aupd(struct ipod_t* ipod, char* filename);
70int write_aupd(struct ipod_t* ipod, char* filename); 70int write_aupd(struct ipod_t* ipod, char* filename);
71off_t filesize(int fd); 71off_t filesize(int fd);
72int ipod_has_bootloader(struct ipod_t* ipod);
72 73
73#ifdef __cplusplus 74#ifdef __cplusplus
74} 75}