Changeset 2fb1805 in rtems


Ignore:
Timestamp:
Sep 22, 2008, 9:50:17 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
ddfaa296
Parents:
87b9739
Message:

2008-09-22 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, console/console.c, include/bsp.h: Use standardized bsp_cleanup() which can optionally print a message, poll for user to press key, and call bsp_reset(). Using this eliminates the various bsp_cleanup() implementations which had their own implementation and variety of string constants.
  • startup/bspreset.c: New file.
  • startup/bspclean.c: Removed.
Location:
c/src/lib/libbsp/powerpc/gen83xx
Files:
1 added
1 deleted
4 edited

Legend:

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

    r87b9739 r2fb1805  
     12008-09-22      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile.am, console/console.c, include/bsp.h: Use standardized
     4        bsp_cleanup() which can optionally print a message, poll for user to
     5        press key, and call bsp_reset(). Using this eliminates the various
     6        bsp_cleanup() implementations which had their own implementation and
     7        variety of string constants.
     8        * startup/bspreset.c: New file.
     9        * startup/bspclean.c: Removed.
     10
    1112008-09-22      Joel Sherrill <joel.sherrill@oarcorp.com>
    212
  • c/src/lib/libbsp/powerpc/gen83xx/Makefile.am

    r87b9739 r2fb1805  
    5454        startup/cpuinit.c \
    5555        startup/bspstart.c \
    56         startup/bspclean.c \
     56        ../../shared/bspclean.c \
     57        startup/bspreset.c \
    5758        ../../shared/bspgetworkarea.c \
    5859        startup/uboot_support.c \
  • c/src/lib/libbsp/powerpc/gen83xx/console/console.c

    r87b9739 r2fb1805  
    278278  return Console_Port_Tbl [0].pDeviceFns->deviceRead(0);
    279279}
     280
     281int bsp_get_char(void)
     282{
     283  return bsp_uart_pollRead(0);
     284}
     285
     286BSP_polling_getchar_function_type BSP_poll_char = bsp_get_char;
  • c/src/lib/libbsp/powerpc/gen83xx/include/bsp.h

    r87b9739 r2fb1805  
    3232#define CONFIG_MPC83XX
    3333#define CONFIG_HAS_ETH1
    34 
    35 /* We want to prompt for a reset and then reset the board */
    36 #define BSP_PRESS_KEY_FOR_RESET 1
    37 #define BSP_RESET_BOARD_AT_EXIT 1
    3834
    3935#endif /* MPC8313ERDB */
     
    9894
    9995#endif /* HAS_UBOOT */
    100 
    101 #define MUST_WAIT_FOR_INTERRUPT 0
    10296
    10397#define BSP_UART1_MINOR 0
Note: See TracChangeset for help on using the changeset viewer.