diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen5200/nvram')
-rw-r--r-- | c/src/lib/libbsp/powerpc/gen5200/nvram/nvram.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/nvram/nvram.c b/c/src/lib/libbsp/powerpc/gen5200/nvram/nvram.c index e246d2c13f..8e174203e8 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/nvram/nvram.c +++ b/c/src/lib/libbsp/powerpc/gen5200/nvram/nvram.c @@ -579,12 +579,12 @@ rtems_device_driver nvram_driver_write(rtems_device_major_number major, rtems_de return RTEMS_UNSATISFIED; } - else - count = args->count; - m93cxx_enable_write(); + count = args->count; - WAIT(1); + m93cxx_enable_write(); + + WAIT(1); for(i = 0; i < count; i++) { |