diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-10-22 00:03:04 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-10-22 00:07:07 +0200 |
commit | 7d62a78af47e77e3d4f6b8b37545d1abcc436f57 (patch) | |
tree | 0a47e503470ba46b2db5e9da8004b431ca3f399f /firmware/export | |
parent | 5c7167c79c369973969f2199efa191cdf857a1a4 (diff) | |
download | rockbox-7d62a78af47e77e3d4f6b8b37545d1abcc436f57.tar.gz rockbox-7d62a78af47e77e3d4f6b8b37545d1abcc436f57.zip |
imx233: extend partition window support to be more generic
The new code can select among several types of window (user, system, ...).
Furthermore, the type of partitions to use is selectable in config file.
Currently, two types are support: Freescale style MBR and Creative MBLK
Change-Id: I969d60a3d08f2c9448fb4b9c440051b7801b94cd
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config.h | 4 | ||||
-rw-r--r-- | firmware/export/config/creativezenxfi3.h | 1 | ||||
-rw-r--r-- | firmware/export/config/sansafuzeplus.h | 1 | ||||
-rw-r--r-- | firmware/export/config/sonynwze360.h | 1 | ||||
-rw-r--r-- | firmware/export/config/sonynwze370.h | 1 |
5 files changed, 8 insertions, 0 deletions
diff --git a/firmware/export/config.h b/firmware/export/config.h index 87fbd97516..3ee2330879 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -352,6 +352,10 @@ Lyre prototype 1 */ | |||
352 | #define IMX233_TQFP128 3 | 352 | #define IMX233_TQFP128 3 |
353 | #define IMX233_LQFP100 4 | 353 | #define IMX233_LQFP100 4 |
354 | 354 | ||
355 | /* IMX233_PARTITIONS */ | ||
356 | #define IMX233_FREESCALE (1 << 0) /* Freescale I.MX233 nonstandard two-level MBR */ | ||
357 | #define IMX233_CREATIVE (1 << 1) /* Creative MBLK windowing */ | ||
358 | |||
355 | /* now go and pick yours */ | 359 | /* now go and pick yours */ |
356 | #if defined(ARCHOS_PLAYER) | 360 | #if defined(ARCHOS_PLAYER) |
357 | #include "config/archosplayer.h" | 361 | #include "config/archosplayer.h" |
diff --git a/firmware/export/config/creativezenxfi3.h b/firmware/export/config/creativezenxfi3.h index de0ff8bac8..b4a328d894 100644 --- a/firmware/export/config/creativezenxfi3.h +++ b/firmware/export/config/creativezenxfi3.h | |||
@@ -3,6 +3,7 @@ | |||
3 | */ | 3 | */ |
4 | #define IMX233_SUBTARGET 3780 | 4 | #define IMX233_SUBTARGET 3780 |
5 | #define IMX233_PACKAGE IMX233_BGA169 | 5 | #define IMX233_PACKAGE IMX233_BGA169 |
6 | #define IMX233_PARTITIONS IMX233_FREESCALE | ||
6 | 7 | ||
7 | /* For Rolo and boot loader */ | 8 | /* For Rolo and boot loader */ |
8 | #define MODEL_NUMBER 83 | 9 | #define MODEL_NUMBER 83 |
diff --git a/firmware/export/config/sansafuzeplus.h b/firmware/export/config/sansafuzeplus.h index 1c5c2e0193..e7622fa568 100644 --- a/firmware/export/config/sansafuzeplus.h +++ b/firmware/export/config/sansafuzeplus.h | |||
@@ -3,6 +3,7 @@ | |||
3 | */ | 3 | */ |
4 | #define IMX233_SUBTARGET 3780 | 4 | #define IMX233_SUBTARGET 3780 |
5 | #define IMX233_PACKAGE IMX233_BGA169 | 5 | #define IMX233_PACKAGE IMX233_BGA169 |
6 | #define IMX233_PARTITIONS IMX233_FREESCALE | ||
6 | 7 | ||
7 | /* For Rolo and boot loader */ | 8 | /* For Rolo and boot loader */ |
8 | #define MODEL_NUMBER 72 | 9 | #define MODEL_NUMBER 72 |
diff --git a/firmware/export/config/sonynwze360.h b/firmware/export/config/sonynwze360.h index d914c1c253..a0f05f4342 100644 --- a/firmware/export/config/sonynwze360.h +++ b/firmware/export/config/sonynwze360.h | |||
@@ -3,6 +3,7 @@ | |||
3 | */ | 3 | */ |
4 | #define IMX233_SUBTARGET 3780 | 4 | #define IMX233_SUBTARGET 3780 |
5 | #define IMX233_PACKAGE IMX233_BGA169 | 5 | #define IMX233_PACKAGE IMX233_BGA169 |
6 | #define IMX233_PARTITIONS IMX233_FREESCALE | ||
6 | 7 | ||
7 | /* For Rolo and boot loader */ | 8 | /* For Rolo and boot loader */ |
8 | #define MODEL_NUMBER 89 | 9 | #define MODEL_NUMBER 89 |
diff --git a/firmware/export/config/sonynwze370.h b/firmware/export/config/sonynwze370.h index 45fa289e0d..412200a4ce 100644 --- a/firmware/export/config/sonynwze370.h +++ b/firmware/export/config/sonynwze370.h | |||
@@ -3,6 +3,7 @@ | |||
3 | */ | 3 | */ |
4 | #define IMX233_SUBTARGET 3780 | 4 | #define IMX233_SUBTARGET 3780 |
5 | #define IMX233_PACKAGE IMX233_BGA169 | 5 | #define IMX233_PACKAGE IMX233_BGA169 |
6 | #define IMX233_PARTITIONS IMX233_FREESCALE | ||
6 | 7 | ||
7 | /* For Rolo and boot loader */ | 8 | /* For Rolo and boot loader */ |
8 | #define MODEL_NUMBER 88 | 9 | #define MODEL_NUMBER 88 |