summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2012-09-21 23:11:23 +0200
committerGravatar Nikias Bassen2012-09-21 23:11:23 +0200
commit465477b251b065f24c3c834e5f7d3398b37ee069 (patch)
tree9b258485f0552912ba1cfd636d04aadef64401a6 /include
parente22c85cbf5211b3f8b87c9ee824cf4ccd70cab36 (diff)
downloadlibirecovery-465477b251b065f24c3c834e5f7d3398b37ee069.tar.gz
libirecovery-465477b251b065f24c3c834e5f7d3398b37ee069.tar.bz2
added support for iPod5,1
Diffstat (limited to 'include')
-rw-r--r--include/libirecovery.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h
index 781123b..9b9ee01 100644
--- a/include/libirecovery.h
+++ b/include/libirecovery.h
@@ -59,6 +59,7 @@ extern "C" {
#define CPID_IPAD32 0x8945
#define CPID_IPAD33 0x8945
#define CPID_IPHONE5 0x8950
+#define CPID_IPOD5G 0x8942
#define BDID_UNKNOWN -1
#define BDID_IPHONE2G 0x00
@@ -83,6 +84,7 @@ extern "C" {
#define BDID_IPAD33 0x04
#define BDID_IPHONE51 0x00
#define BDID_IPHONE52 0x02
+#define BDID_IPOD5G 0x00
#define DEVICE_UNKNOWN -1
#define DEVICE_IPHONE2G 0
@@ -107,6 +109,7 @@ extern "C" {
#define DEVICE_IPAD33 19
#define DEVICE_IPHONE51 20
#define DEVICE_IPHONE52 21
+#define DEVICE_IPOD5G 22
enum {
kRecoveryMode1 = 0x1280,
@@ -211,6 +214,7 @@ static struct irecv_device irecv_devices[] = {
{ 19, "iPad3,3", "j2aap", 0x04, 0x8945 },
{ 20, "iPhone5,1", "n41ap", 0x00, 0x8950 },
{ 21, "iPhone5,2", "n42ap", 0x02, 0x8950 },
+ { 22, "iPod5,1", "n78ap", 0x00, 0x8942 },
{ -1, NULL, NULL, -1, -1 }
};