diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2012-06-24 11:42:41 +0200 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2012-06-24 11:42:41 +0200 |
commit | ce177a95885562acd518088c5a48a3df36734997 (patch) | |
tree | 53d2441afe2ea6f4f74c09ef3a83c90690ee1bbf | |
parent | 2421b9f6c250e1a20ec75c9b541a5142485e579d (diff) | |
download | 0xFFFF-ce177a95885562acd518088c5a48a3df36734997.tar.bz2 |
Update usb device table
-rw-r--r-- | src/devices.c | 24 | ||||
-rw-r--r-- | src/main.h | 4 |
2 files changed, 18 insertions, 10 deletions
diff --git a/src/devices.c b/src/devices.c index eec6e05..cb1e05d 100644 --- a/src/devices.c +++ b/src/devices.c @@ -30,21 +30,29 @@ * * The following table shows this info: * - * cold-flash flash emmc-flash mass-stor pc-suite - * n770 0421:0105 0421:0431 + * omap-rom nolo flash-mode mass-stor pc-suite + * 770 0421:0105 0421:0431 * n800 0421:04c3 0421:0431 * n810 0421:0105 - * n900 0421:0106 0421:0105 0421:???? 0421:01c7 0421:01c8 + * n900 0421:0106 0421:0105 0421:01c8 0421:01c7 0421:01c8 + * + * mode images protocol + * omap-rom 2nd, secondary OMAP messages + Nokia X-Loader protocol + * nolo all except mmc NOLO + * flash-mode mmc MK II + * mass-storage sd, first emmc Standard USB Mass Storage + * pc-suite mmc MK II * */ struct devices supported_devices[SUPPORTED_DEVICES] = { { "FFFF", 0x0000, 0x0000, FLASH_NORMAL }, // dummy { "unkn", 0x0421, 0x3f00, FLASH_NORMAL }, // probably a development board - { "n800", 0x0421, 0x04c3, FLASH_NORMAL }, // a n800 - { "n770/n810/n900", 0x0421, 0x0105, FLASH_NORMAL }, - { "n900", 0x0421, 0x0106, FLASH_COLD }, -// { "n900", 0x0421, 0x????, FLASH_EMMC }, - { "n900", 0x0421, 0x01c8, FLASH_MKII }, + { "n800", 0x0421, 0x04c3, FLASH_NORMAL }, // n800 + { "770/n810/n900", 0x0421, 0x0105, FLASH_NORMAL }, // 770, n810, n900 + { "n900", 0x0421, 0x0106, FLASH_COLD }, // n900 cold flashing + { "n900", 0x0421, 0x01c8, FLASH_MKII }, // n900 mmc flashing + { "770/n800", 0x0421, 0x0431, FLASH_DISK }, // 770, n800 usb mass storage + { "n900", 0x0421, 0x01c7, FLASH_DISK }, // n900 usb mass storage { NULL }, { NULL } }; @@ -67,8 +67,8 @@ struct piece_t { enum flash_mode { FLASH_COLD, FLASH_NORMAL, - FLASH_EMMC, FLASH_MKII, + FLASH_DISK, }; struct devices { @@ -78,7 +78,7 @@ struct devices { enum flash_mode mode; }; -#define SUPPORTED_DEVICES 8 +#define SUPPORTED_DEVICES 10 extern struct devices supported_devices[SUPPORTED_DEVICES]; extern int pcs_n; |