Changeset 5eac0853 in rtems


Ignore:
Timestamp:
Jul 28, 2009, 2:34:45 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
78ab0c5
Parents:
5d8b8eb
Message:

2009-07-28 Xi Yang <hiyangxi@…>

  • configure.ac: undefine BSP_PRESS_KEY_FOR_RESET
  • startup/bspreset.c, include/ep7312.h: Support skyeye shutdown device
Location:
c/src/lib/libbsp/arm/edb7312
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/edb7312/ChangeLog

    r5d8b8eb r5eac0853  
     12009-07-28      Xi Yang <hiyangxi@gmail.com>
     2
     3        * configure.ac: undefine BSP_PRESS_KEY_FOR_RESET
     4        * startup/bspreset.c, include/ep7312.h: Support skyeye shutdown device
     5       
    162009-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/arm/edb7312/configure.ac

    r5d8b8eb r5eac0853  
    2727
    2828RTEMS_BSP_BOOTCARD_OPTIONS
    29 RTEMS_BSP_CLEANUP_OPTIONS(1, 1)
     29RTEMS_BSP_CLEANUP_OPTIONS(0, 1)
    3030
    3131# Explicitly list all Makefiles here
  • c/src/lib/libbsp/arm/edb7312/include/ep7312.h

    r5d8b8eb r5eac0853  
    154154#define EP7312_INTR2_DAIINT  0x00000001
    155155
     156/*Write to SKYEYE_MAGIC_ADDRESS to make SKYEYE  exit*/
     157
     158#define SKYEYE_MAGIC_ADDRESS (*(volatile unsigned int *)(0xb0000000))
    156159#endif /* __EP7312_H__ */
  • c/src/lib/libbsp/arm/edb7312/startup/bspreset.c

    r5d8b8eb r5eac0853  
    1010
    1111#include <bsp.h>
     12#include <ep7312.h>
    1213
    1314void bsp_reset(void)
    1415{
    15   #if ON_SKYEYE
    16     /* TBD use Skyeye reset device */
    17   #else
    18     asm volatile ("b _start");
    19   #endif
     16#if ON_SKYEYE == 1
     17  SKYEYE_MAGIC_ADDRESS = 0xff;
     18#else
     19  asm volatile ("b _start");
     20#endif
    2021}
Note: See TracChangeset for help on using the changeset viewer.