Changeset fe106ad5 in rtems


Ignore:
Timestamp:
Jul 2, 2016, 11:15:02 AM (3 years ago)
Author:
Pavel Pisa <pisa@…>
Branches:
master
Children:
0cb50ab
Parents:
5812df8f
git-author:
Pavel Pisa <pisa@…> (07/02/16 11:15:02)
git-committer:
Pavel Pisa <pisa@…> (07/04/16 13:55:57)
Message:

arm/raspberrypi: Enable HYP to SVC switch for this BSP.

This support is required when newer firmware is used on
Raspberry Pi 2 boards.

Location:
c/src/lib/libbsp/arm/raspberrypi
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/raspberrypi/Makefile.am

    r5812df8f rfe106ad5  
    9595libbsp_a_SOURCES += ../shared/startup/bsp-start-memcpy.S
    9696libbsp_a_SOURCES += ../shared/arm-cp15-set-ttb-entries.c
     97if BSP_START_IN_HYP_SUPPORT
     98libbsp_a_SOURCES += ../shared/startup/bsp-start-in-hyp-support.S
     99endif
    97100
    98101# Startup
  • c/src/lib/libbsp/arm/raspberrypi/configure.ac

    r5812df8f rfe106ad5  
    2525RTEMS_BSPOPTS_HELP([BSP_START_RESET_VECTOR],[reset vector address for BSP start])
    2626
     27RTEMS_BSPOPTS_SET([BSP_START_IN_HYP_SUPPORT],[*],[1])
     28RTEMS_BSPOPTS_HELP([BSP_START_IN_HYP_SUPPORT], [Support start of BSP in ARM HYP mode])
     29AM_CONDITIONAL(BSP_START_IN_HYP_SUPPORT,test "$BSP_START_IN_HYP_SUPPORT" = "1")
     30
    2731RTEMS_BSPOPTS_SET([I2C_IO_MODE],[*],[1])
    2832RTEMS_BSPOPTS_HELP([I2C_IO_MODE],[Define to 1 to use interrupt-driven I/O with the Raspberry Pi I2C bus. If defined to other value the access will be polled-driven.])
Note: See TracChangeset for help on using the changeset viewer.