Changeset 93546b8 in rtems


Ignore:
Timestamp:
Dec 11, 2014, 9:16:34 PM (5 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
0a36af04
Parents:
607c854
git-author:
Joel Sherrill <joel.sherrill@…> (12/11/14 21:16:34)
git-committer:
Joel Sherrill <joel.sherrill@…> (01/04/15 19:44:56)
Message:

pc386: Add BSP_ENABLE_IDE BSP option

This allows the IDE support to be completely disabled. It is needed to
prevent hangs on some hardware. In particular, the Intel Edison where
it is not present.

Location:
c/src/lib/libbsp/i386/pc386
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/pc386/Makefile.am

    r607c854 r93546b8  
    165165libbsp_a_SOURCES += timer/timer.c timer/timerisr.S
    166166
     167if HAS_IDE
    167168# ide
    168 libbsp_a_SOURCES += ide/idecfg.c ide/ide.c
     169libbsp_a_SOURCES += ide/ide.c
     170libbsp_a_SOURCES += ide/idecfg.c
     171endif
    169172
    170173if HAS_SMP
  • c/src/lib/libbsp/i386/pc386/configure.ac

    r607c854 r93546b8  
    2222[Set if the VGA and keyboard console support is enabled.])
    2323AM_CONDITIONAL(RTEMS_VGA,[test "$BSP_ENABLE_VGA" = "1"])
     24
     25RTEMS_BSPOPTS_SET([BSP_ENABLE_IDE],[*],[1])
     26RTEMS_BSPOPTS_HELP([BSP_ENABLE_IDE],
     27[Set if IDE support is enabled.])
     28AM_CONDITIONAL(HAS_IDE,[test "$BSP_ENABLE_IDE" = "1"])
    2429
    2530RTEMS_BSPOPTS_SET([USE_COM1_AS_CONSOLE],[*],[0])
  • c/src/lib/libbsp/i386/pc386/include/bsp.h

    r607c854 r93546b8  
    219219const char* bsp_cmdline_arg(const char* arg);
    220220
     221#if BSP_ENABLE_IDE
    221222/*
    222223 * IDE command line parsing.
     
    228229 */
    229230#define RTEMS_BSP_HAS_IDE_DRIVER
     231#endif
    230232
    231233/* GDB stub stuff */
  • c/src/lib/libbsp/i386/pc386/startup/bspstart.c

    r607c854 r93546b8  
    8080  Clock_driver_install_handler();
    8181
     82#if BSP_ENABLE_IDE
    8283  bsp_ide_cmdline_init();
     84#endif
    8385
    8486} /* bsp_start_default */
Note: See TracChangeset for help on using the changeset viewer.