Ignore:
Timestamp:
Oct 10, 2008, 3:46:32 PM (11 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, master
Children:
602aee20
Parents:
9a9f662
Message:

Update for status-checks.h changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/mpc55xxevb/startup/sd-card-init.c

    r9a9f662 r7495494  
    4141
    4242        rv = rtems_libi2c_initialize();
    43         CHECK_RVSC( rv, "rtems_libi2c_initialize");
     43        RTEMS_CHECK_RV_SC( rv, "rtems_libi2c_initialize");
    4444
    4545        /* DSPI D inputs are taken from DSPI C */
     
    8383                device_name [8] = (char) ('0' + i);
    8484                rv = rtems_libi2c_register_bus( device_name, (rtems_libi2c_bus_t *) &mpc55xx_dspi_bus_table [i]);
    85                 CHECK_RVSC( rv, device_name);
     85                RTEMS_CHECK_RV_SC( rv, device_name);
    8686        }
    8787
     
    149149        sd_card_driver_entry *e = &sd_card_driver_table [0];
    150150
    151         DEBUG_PRINT( "Task started\n");
     151        RTEMS_DEBUG_PRINT( "Task started\n");
    152152
    153153        sc = mpc55xx_dspi_init();
    154         CHECK_SC( rv, "Intitalize DSPI bus");
     154        RTEMS_CHECK_SC( rv, "Intitalize DSPI bus");
    155155
    156156        rv = rtems_libi2c_register_drv( e->device_name, (rtems_libi2c_drv_t *) e, mpc55xx_dspi_bus_table [0].bus_number, 0);
    157         CHECK_RVSC( rv, "Register SD Card driver");
     157        RTEMS_CHECK_RV_SC( rv, "Register SD Card driver");
    158158
    159159        sc = rtems_ide_part_table_initialize( MPC55XX_DEVICE_FILE);
    160         CHECK_SC( sc, "Initialize IDE partition table");
     160        RTEMS_CHECK_SC( sc, "Initialize IDE partition table");
    161161
    162162        rv = mkdir( MPC55XX_MOUNT_POINT, S_IRWXU);
    163         CHECK_RVSC( rv, "Create mount point");
     163        RTEMS_CHECK_RV_SC( rv, "Create mount point");
    164164
    165165        rv = rtems_fsmount( mpc55xx_fs_table, sizeof( mpc55xx_fs_table) / sizeof( mpc55xx_fs_table [0]), NULL);
    166         CHECK_RVSC( rv, "Mount file systems");
     166        RTEMS_CHECK_RV_SC( rv, "Mount file systems");
    167167
    168168        return RTEMS_SUCCESSFUL;
Note: See TracChangeset for help on using the changeset viewer.