From 7d62a78af47e77e3d4f6b8b37545d1abcc436f57 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Tue, 22 Oct 2013 00:03:04 +0200 Subject: 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 --- firmware/export/config.h | 4 ++++ firmware/export/config/creativezenxfi3.h | 1 + firmware/export/config/sansafuzeplus.h | 1 + firmware/export/config/sonynwze360.h | 1 + firmware/export/config/sonynwze370.h | 1 + 5 files changed, 8 insertions(+) (limited to 'firmware/export') 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 */ #define IMX233_TQFP128 3 #define IMX233_LQFP100 4 +/* IMX233_PARTITIONS */ +#define IMX233_FREESCALE (1 << 0) /* Freescale I.MX233 nonstandard two-level MBR */ +#define IMX233_CREATIVE (1 << 1) /* Creative MBLK windowing */ + /* now go and pick yours */ #if defined(ARCHOS_PLAYER) #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 @@ */ #define IMX233_SUBTARGET 3780 #define IMX233_PACKAGE IMX233_BGA169 +#define IMX233_PARTITIONS IMX233_FREESCALE /* For Rolo and boot loader */ #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 @@ */ #define IMX233_SUBTARGET 3780 #define IMX233_PACKAGE IMX233_BGA169 +#define IMX233_PARTITIONS IMX233_FREESCALE /* For Rolo and boot loader */ #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 @@ */ #define IMX233_SUBTARGET 3780 #define IMX233_PACKAGE IMX233_BGA169 +#define IMX233_PARTITIONS IMX233_FREESCALE /* For Rolo and boot loader */ #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 @@ */ #define IMX233_SUBTARGET 3780 #define IMX233_PACKAGE IMX233_BGA169 +#define IMX233_PARTITIONS IMX233_FREESCALE /* For Rolo and boot loader */ #define MODEL_NUMBER 88 -- cgit v1.2.3