From 14f0ba0096a0838ce4d52cfafddbd8d8aa4fef69 Mon Sep 17 00:00:00 2001 From: Olivier Dufour Date: Tue, 15 Jan 2013 16:15:15 +0100 Subject: common/include: add clock speed in image header, refs #1325 System clock value is stored in the image header. --- common/include/spid_img_desc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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). -- cgit v1.2.3