summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Dufour2013-01-15 16:15:15 +0100
committerOlivier Dufour2013-01-25 13:40:55 +0100
commit14f0ba0096a0838ce4d52cfafddbd8d8aa4fef69 (patch)
treedc0791511b988c370ca8c851bd76c2907c6c5f38
parenta67175e509f33600b4c774a8e459c4b188a141ce (diff)
common/include: add clock speed in image header, refs #1325
System clock value is stored in the image header.
-rw-r--r--common/include/spid_img_desc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/common/include/spid_img_desc.h b/common/include/spid_img_desc.h
index 23e43991c9..c83dec6c21 100644
--- a/common/include/spid_img_desc.h
+++ b/common/include/spid_img_desc.h
@@ -85,12 +85,14 @@ typedef struct {
uint32_t header_version;
/** Type of the image, see spid_img_desc_image_type_t. */
uint32_t image_type;
+ /** Speed of System Clock in MHz */
+ uint32_t sysclk_speed;
} spidcom_image_desc_header_t;
/**
* Reserved size at the end of all descriptors (in bytes).
*/
-#define SPIDCOM_IMG_DESC_COMMON_RESERVER_SIZE 836
+#define SPIDCOM_IMG_DESC_COMMON_RESERVER_SIZE 832
/**
* Image descriptor for SPC300 (and MSE500-300).