diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-31 04:40:43 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-31 04:40:43 +0000 |
commit | b7044dc94e1e4ee9f69ad6841e60c9602d5ea86b (patch) | |
tree | 855827180d9a0f36d993e543b6f12ae86906b915 /c/src/lib/libbsp/m68k/mcf5206elite/nvram/nvram.c | |
parent | 2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-b7044dc94e1e4ee9f69ad6841e60c9602d5ea86b.tar.bz2 |
2004-03-31 Ralf Corsepius <ralf_corsepius@rtems.org>
* console/console.c, i2c/i2c.c, i2c/i2cdrv.c, include/bsp.h,
include/i2c.h, nvram/nvram.c, startup/bspstart.c,
startup/init5206e.c, tod/ds1307.c: Convert to using c99 fixed size
types.
Diffstat (limited to 'c/src/lib/libbsp/m68k/mcf5206elite/nvram/nvram.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/mcf5206elite/nvram/nvram.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf5206elite/nvram/nvram.c b/c/src/lib/libbsp/m68k/mcf5206elite/nvram/nvram.c index ce31c1109c..cbf8579f8a 100644 --- a/c/src/lib/libbsp/m68k/mcf5206elite/nvram/nvram.c +++ b/c/src/lib/libbsp/m68k/mcf5206elite/nvram/nvram.c @@ -95,7 +95,7 @@ nvram_driver_read(rtems_device_major_number major, void *arg) { rtems_libio_rw_args_t *args = arg; - unsigned32 count; + uint32_t count; i2c_bus_number bus = DS1307_I2C_BUS_NUMBER; i2c_address addr = DS1307_I2C_ADDRESS; i2c_message_status status; @@ -138,7 +138,7 @@ nvram_driver_write(rtems_device_major_number major, void *arg) { rtems_libio_rw_args_t *args = arg; - unsigned32 count; + uint32_t count; i2c_bus_number bus = DS1307_I2C_BUS_NUMBER; i2c_address addr = DS1307_I2C_ADDRESS; i2c_message_status status; @@ -159,7 +159,7 @@ nvram_driver_write(rtems_device_major_number major, { int try = 0; do { - rtems_unsigned8 buf[DS1307_NVRAM_SIZE + 1]; + uint8_t buf[DS1307_NVRAM_SIZE + 1]; buf[0] = DS1307_NVRAM_START + args->offset; memcpy(buf+1, args->buffer, count); status = i2c_write(bus, addr, buf, count+1); |