summaryrefslogtreecommitdiff
path: root/common/include/spid_img_desc.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/include/spid_img_desc.h')
-rw-r--r--common/include/spid_img_desc.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/common/include/spid_img_desc.h b/common/include/spid_img_desc.h
index c83dec6c21..90f5924be7 100644
--- a/common/include/spid_img_desc.h
+++ b/common/include/spid_img_desc.h
@@ -65,6 +65,19 @@ typedef enum {
} spidcom_image_desc_image_type_t;
/**
+ * List of supported DSP modes.
+ * This enum is converted by u-boot in spc300_atag values, see
+ * asm/arch/spc300-atag.h.
+ * Beware that values can differ between the two files.
+ */
+typedef enum {
+ SPIDCOM_IMG_DESC_DSP_MODE_NONE,
+ SPIDCOM_IMG_DESC_DSP_MODE_1X,
+ SPIDCOM_IMG_DESC_DSP_MODE_2X,
+ SPIDCOM_IMG_DESC_DSP_MODE_NB
+} spidcom_image_desc_dsp_mode_t;
+
+/**
* Version of the common header for image descriptor.
*/
#define SPIDCOM_IMG_DESC_COMMON_HEADER_VERSION 1
@@ -87,12 +100,14 @@ typedef struct {
uint32_t image_type;
/** Speed of System Clock in MHz */
uint32_t sysclk_speed;
+ /** DSP PLL mode */
+ uint32_t dsp_mode;
} spidcom_image_desc_header_t;
/**
* Reserved size at the end of all descriptors (in bytes).
*/
-#define SPIDCOM_IMG_DESC_COMMON_RESERVER_SIZE 832
+#define SPIDCOM_IMG_DESC_COMMON_RESERVER_SIZE 828
/**
* Image descriptor for SPC300 (and MSE500-300).