From 7de21262c08b5a70a2f2009e058062d847c8a203 Mon Sep 17 00:00:00 2001 From: Ben Dooks Date: Tue, 16 May 2006 17:31:15 +0100 Subject: [PATCH] --- yaml --- r: 27787 b: refs/heads/master c: b020bb7d3b3a8e3568a16eaf98c033bb9ee474eb h: refs/heads/master i: 27785: e3e1a5865a638d785b2cb09699dcc88bcc03473b 27783: ce79053bc98b6de857f71fef9c70f76b911a16b7 v: v3 --- [refs] | 2 +- trunk/drivers/mtd/redboot.c | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/[refs] b/[refs] index 5ae3d1b880bc..c473a0260d4f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 155285c4775b7027b01a5b744c721ae43cced798 +refs/heads/master: b020bb7d3b3a8e3568a16eaf98c033bb9ee474eb diff --git a/trunk/drivers/mtd/redboot.c b/trunk/drivers/mtd/redboot.c index c077d2ec9cdd..5b58523e4d4e 100644 --- a/trunk/drivers/mtd/redboot.c +++ b/trunk/drivers/mtd/redboot.c @@ -1,5 +1,5 @@ /* - * $Id: redboot.c,v 1.19 2005/12/01 10:03:51 dwmw2 Exp $ + * $Id: redboot.c,v 1.21 2006/03/30 18:34:37 bjd Exp $ * * Parse RedBoot-style Flash Image System (FIS) tables and * produce a Linux partition array to match. @@ -15,14 +15,14 @@ struct fis_image_desc { unsigned char name[16]; // Null terminated name - unsigned long flash_base; // Address within FLASH of image - unsigned long mem_base; // Address in memory where it executes - unsigned long size; // Length of image - unsigned long entry_point; // Execution entry point - unsigned long data_length; // Length of actual data - unsigned char _pad[256-(16+7*sizeof(unsigned long))]; - unsigned long desc_cksum; // Checksum over image descriptor - unsigned long file_cksum; // Checksum over image data + uint32_t flash_base; // Address within FLASH of image + uint32_t mem_base; // Address in memory where it executes + uint32_t size; // Length of image + uint32_t entry_point; // Execution entry point + uint32_t data_length; // Length of actual data + unsigned char _pad[256-(16+7*sizeof(uint32_t))]; + uint32_t desc_cksum; // Checksum over image descriptor + uint32_t file_cksum; // Checksum over image data }; struct fis_list {