From 4fe2ee02215730c2217135ef1e6dd4585a0c2439 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sat, 10 Oct 2009 11:46:23 +0000 Subject: Add crypt_firmware plugin for Nano2G - this uses the hardware crypto unit to encrypt (or decrypt) a firmware image for writing to a Nano 2G's firmware partition with ipodpatcher (patch for ipodpatcher is at FS#10609). Also introduce BOOTFILE_EXT2 define for an alternative firmware file extension and add .ipodx for the Nano 2G (.ipod is for unencrypted images, similar to older ipods, and .ipodx is for encrypted images and include the 2KB hash block and modelname 'nn2x'). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23068 a1c6a512-1295-4272-9138-f99709370657 --- apps/filetypes.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/filetypes.c') diff --git a/apps/filetypes.c b/apps/filetypes.c index ffa7161..ed3d938 100644 --- a/apps/filetypes.c +++ b/apps/filetypes.c @@ -111,6 +111,9 @@ static const struct filetype inbuilt_filetypes[] = { #ifdef BOOTFILE_EXT { BOOTFILE_EXT, FILE_ATTR_MOD, Icon_Firmware, VOICE_EXT_AJZ }, #endif +#ifdef BOOTFILE_EXT2 + { BOOTFILE_EXT2, FILE_ATTR_MOD, Icon_Firmware, VOICE_EXT_AJZ }, +#endif }; void tree_get_filetypes(const struct filetype** types, int* count) -- cgit v1.1