Changeset 1611e8ca in rtems


Ignore:
Timestamp:
Jul 6, 2007, 7:20:21 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
0a029a5
Parents:
78f96ab
Message:

2007-07-06 Joel Sherrill <joel.sherrill@…>

  • clock/clock.c, console/console.c: Add clock HW initialization missed in earlier conversion.
Location:
c/src/lib/libbsp/powerpc/gen5200
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/gen5200/ChangeLog

    r78f96ab r1611e8ca  
     12007-07-06      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * clock/clock.c, console/console.c: Add clock HW initialization missed
     4        in earlier conversion.
     5
    162007-07-06      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
    27
  • c/src/lib/libbsp/powerpc/gen5200/clock/clock.c

    r78f96ab r1611e8ca  
    342342#define Clock_driver_support_initialize_hardware() \
    343343  do {        \
    344     ;         \
     344    counter_value = rtems_configuration_get_microseconds_per_tick() * \
     345                    rtems_cpu_configuration_get_clicks_per_usec(); \
     346    mpc5200_init_gpt(GPT); \
     347    mpc5200_set_gpt_count(counter_value, GPT); \
    345348  } while (0)
    346349
  • c/src/lib/libbsp/powerpc/gen5200/console/console.c

    r78f96ab r1611e8ca  
    652652 */
    653653static void A_BSP_output_char( char c )
    654   {
     654{
    655655  char cr = '\r';
    656656
    657 
    658   if(console_initialized == TRUE)
    659     {
     657  /*
     658   *  If we are using U-Boot, then the console is already initialized
     659   *  and we can just poll bytes out at any time.
     660   */
     661  #if !defined(HAS_UBOOT)
     662    if (console_initialized == FALSE )
     663     return
     664  #endif
    660665
    661666#define PRINTK_WRITE mpc5200_uart_pollWrite
     
    665670    if( c == '\n' )
    666671      PRINTK_WRITE( PRINTK_MINOR, &cr, 1 );
    667 
    668     }
    669 
    670   }
     672}
    671673
    672674/*
Note: See TracChangeset for help on using the changeset viewer.