diff options
author | Greg Watson <jarrah@users.sourceforge.net> | 2003-06-13 22:07:53 +0000 |
---|---|---|
committer | Greg Watson <jarrah@users.sourceforge.net> | 2003-06-13 22:07:53 +0000 |
commit | f7092040fd4aba081aad75116c2b9594149d5c66 (patch) | |
tree | 9fff13449dd1e397292668313b57537ade1739d8 /src/mainboard/motorola/sandpoint/nvram | |
parent | 26ba0f5f9bb04e296c3a6320a855639c2f14e83c (diff) |
More FB2 stuff
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@877 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/motorola/sandpoint/nvram')
-rw-r--r-- | src/mainboard/motorola/sandpoint/nvram/bsp_nvram.c | 2 | ||||
-rw-r--r-- | src/mainboard/motorola/sandpoint/nvram/nvram.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/mainboard/motorola/sandpoint/nvram/bsp_nvram.c b/src/mainboard/motorola/sandpoint/nvram/bsp_nvram.c index bf5a81c812..7208b18d55 100644 --- a/src/mainboard/motorola/sandpoint/nvram/bsp_nvram.c +++ b/src/mainboard/motorola/sandpoint/nvram/bsp_nvram.c @@ -49,6 +49,6 @@ static int bsp_write_byte(struct nvram_device *data, unsigned offset, unsigned c } nvram_device bsp_nvram = { - bsp_size, bsp_read_block, bsp_write_byte, NULL, NULL + bsp_size, bsp_read_block, bsp_write_byte, 0, 0 }; diff --git a/src/mainboard/motorola/sandpoint/nvram/nvram.c b/src/mainboard/motorola/sandpoint/nvram/nvram.c index 13735748b7..45ca3f26e9 100644 --- a/src/mainboard/motorola/sandpoint/nvram/nvram.c +++ b/src/mainboard/motorola/sandpoint/nvram/nvram.c @@ -2,7 +2,6 @@ /* Copyright 2000 AG Electronics Ltd. */ /* This code is distributed without warranty under the GPL v2 (see COPYING) */ -#include <types.h> #include <console/console.h> #include <stdlib.h> #include "../nvram.h" @@ -20,7 +19,7 @@ static nvram_device *nvram_dev = 0; static unsigned char *nvram_buffer = 0; static unsigned nvram_size = 0; -static u8 nvram_csum = 0; +static uint8_t nvram_csum = 0; #define NVRAM_INVALID (! nvram_dev) static void update_device(unsigned i, unsigned char data) |