diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/dmv177/sonic')
-rw-r--r-- | c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c b/c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c index a068c74f31..f769f4e635 100644 --- a/c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c +++ b/c/src/lib/libbsp/powerpc/dmv177/sonic/dmvsonic.c @@ -15,11 +15,11 @@ void dmv177_sonic_write_register( void *base, - unsigned32 regno, - unsigned32 value + uint32_t regno, + uint32_t value ) { - volatile unsigned32 *p = base; + volatile uint32_t *p = base; #if (SONIC_DEBUG & SONIC_DEBUG_PRINT_REGISTERS) printf( "%p Write 0x%04x to %s (0x%02x)\n", @@ -29,13 +29,13 @@ void dmv177_sonic_write_register( p[regno] = value; } -unsigned32 dmv177_sonic_read_register( +uint32_t dmv177_sonic_read_register( void *base, - unsigned32 regno + uint32_t regno ) { - volatile unsigned32 *p = base; - unsigned32 value; + volatile uint32_t *p = base; + uint32_t value; value = p[regno]; #if (SONIC_DEBUG & SONIC_DEBUG_PRINT_REGISTERS) |