Changeset dd6992fd in rtems


Ignore:
Timestamp:
Jul 28, 2017, 7:15:36 PM (2 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
3ebbabb
Parents:
9cb874d
git-author:
Joel Sherrill <joel@…> (07/28/17 19:15:36)
git-committer:
Joel Sherrill <joel@…> (07/28/17 19:17:32)
Message:

Remove Edison BSP.

Intel has obsoleted this hardware and the BSP was never completed.

closes #3086.

Location:
c/src/lib/libbsp/i386/pc386
Files:
2 deleted
8 edited

Legend:

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

    r9cb874d rdd6992fd  
    7070
    7171# clock
    72 if RTEMS_EDISON
    73 libbsp_a_SOURCES += ../../shared/clock_driver_simidle.c
    74 else
    7572libbsp_a_SOURCES += clock/ckinit.c
    76 endif
    7773libbsp_a_SOURCES += ../../shared/clockdrv_shell.h
    7874libbsp_a_SOURCES += clock/todcfg.c
     
    114110
    115111# console (non-graphics support)
    116 if RTEMS_EDISON
    117 libbsp_a_SOURCES += console/console_edison.c
    118 endif
    119112include_HEADERS += ../../i386/shared/comm/i386_io.h
    120113include_rtems_HEADERS += ../../shared/console_private.h
  • c/src/lib/libbsp/i386/pc386/configure.ac

    r9cb874d rdd6992fd  
    1818RTEMS_CHECK_SMP
    1919
    20 # Is this an Intel Edison?
    21 # NOTE: As we learn more, this could be trimmed if more issues
    22 #       turn out fo lack of legacy peripherals
    23 RTEMS_BSPOPTS_SET([BSP_IS_EDISON],[edison],[1])
    24 RTEMS_BSPOPTS_SET([BSP_IS_EDISON],[*],[0])
    25 RTEMS_BSPOPTS_HELP([BSP_IS_EDISON],[Set if the BSP variant is Intel Edison.])
    26 AM_CONDITIONAL(RTEMS_EDISON,[test "$BSP_IS_EDISON" = "1"])
    27 
    28 RTEMS_BSPOPTS_SET([BSP_ENABLE_VGA],[edison],[0])
    2920RTEMS_BSPOPTS_SET([BSP_ENABLE_VGA],[*],[1])
    3021RTEMS_BSPOPTS_HELP([BSP_ENABLE_VGA],
     
    3627[Set if COM1..COM4 support is enabled.])
    3728
    38 RTEMS_BSPOPTS_SET([BSP_ENABLE_IDE],[edison],[0])
    3929RTEMS_BSPOPTS_SET([BSP_ENABLE_IDE],[*],[1])
    4030RTEMS_BSPOPTS_HELP([BSP_ENABLE_IDE],
  • c/src/lib/libbsp/i386/pc386/console/conscfg.c

    r9cb874d rdd6992fd  
    6161#endif
    6262
    63 #if (BSP_IS_EDISON == 1 )
    64   extern const console_fns edison_fns;
    65 #endif
    66 
    6763/*
    6864 * Default to the PC VGA console if present and configured.
     
    10096
    10197static console_tbl Legacy_Ports[] = {
    102 #if (BSP_IS_EDISON == 1)
    103   {
    104     "/dev/com1",                           /* sDeviceName */
    105     -1,                                    /* deviceType */
    106     &edison_fns,                           /* pDeviceFns */
    107     NULL,                                  /* deviceProbe */
    108     NULL,                                  /* pDeviceFlow */
    109     16,                                    /* ulMargin */
    110     8,                                     /* ulHysteresis */
    111     (void *) NULL,              /* NULL */ /* pDeviceParams */
    112     0x00000000,                            /* ulCtrlPort1 */
    113     0x00000000,                            /* ulCtrlPort2 */
    114     0x00000000,                            /* ulDataPort */
    115     NULL,                                  /* getRegister */
    116     NULL,                                  /* setRegister */
    117     NULL,/* unused */                      /* getData */
    118     NULL,/* unused */                      /* setData */
    119     0x0,                                   /* ulClock */
    120     0x0                                    /* ulIntVector -- base for port */
    121   },
    122 #endif
    12398#if BSP_ENABLE_COM1_COM4
    12499  {
  • c/src/lib/libbsp/i386/pc386/include/bsp.h

    r9cb874d rdd6992fd  
    190190void rtems_irq_mngt_init(void);          /* from 'irq_init.c' */
    191191
    192 #if (BSP_IS_EDISON == 0)
    193   void Clock_driver_install_handler(void);             /* from 'ckinit.c'  */
    194   void Clock_driver_support_initialize_hardware(void); /* from 'ckinit.c'  */
    195 #else
    196   /**
    197    *  @defgroup edison_bsp Clock Tick Support
    198    *
    199    *  @ingroup i386_pc386
    200    *
    201    *  @brief Clock Tick Support Package
    202    */
    203    void *clock_driver_sim_idle_body(uintptr_t);
    204    #define BSP_IDLE_TASK_BODY clock_driver_sim_idle_body
    205   /*
    206    * hack to kill some time. Hopefully hitting a hardware register is slower
    207    * than an empty loop.
    208    */
    209   #define BSP_CLOCK_DRIVER_DELAY() \
    210     do { \
    211       uint64_t _i = 2500000; \
    212       while (_i) { \
    213         _i--; \
    214       } \
    215     } while ( 0 )
    216 #endif /* edison */
     192void Clock_driver_install_handler(void);             /* from 'ckinit.c'  */
     193void Clock_driver_support_initialize_hardware(void); /* from 'ckinit.c'  */
    217194
    218195void *bsp_idle_thread( uintptr_t ignored );
  • c/src/lib/libbsp/i386/pc386/startup/bspgetworkarea.c

    r9cb874d rdd6992fd  
    5757  uintptr_t topAddr;
    5858
    59 #if (BSP_IS_EDISON == 0)
    6059  /* Set the value of start of free memory. */
    6160  rtemsWorkAreaStart = (uint32_t)WorkAreaBase + _stack_size;
     
    118117  }
    119118
    120 #else
    121     topAddr = (1 * 1024 * 1024 * 1024);
    122 #endif
    123  
    124119  bsp_mem_size = topAddr;
    125120}
  • c/src/lib/libbsp/i386/pc386/startup/bspreset.c

    r9cb874d rdd6992fd  
    1515{
    1616  /* shutdown and reboot */
    17   #if (BSP_IS_EDISON == 0)
    18     outport_byte(0x64, 0xFE);        /* use keyboard controller */
    19   #else
    20    *((uint32_t*)0xff009000) = 0xf3;  /* use watchdog */
    21   #endif
     17  *((uint32_t*)0xff009000) = 0xf3;  /* use watchdog */
    2218}
  • c/src/lib/libbsp/i386/pc386/startup/bspstart.c

    r9cb874d rdd6992fd  
    5050static void bsp_pci_initialize_helper(void)
    5151{
    52 #if (BSP_IS_EDISON == 0)
    5352  const pci_config_access_functions *pci_accessors;
    5453
     
    6867
    6968  printk("PCI bus: could not initialize PCI BIOS interface\n");
    70 #endif
    7169}
    7270
     
    8381   * Turn off watchdog
    8482   */
    85 #if (BSP_IS_EDISON == 1)
    86   volatile uint32_t *edison_wd = (volatile uint32_t *)0xff009000;
    87   *edison_wd = 0x11f8;
    88 #endif
    89 
    9083  /*
    9184   * Calibrate variable for 1ms-loop (see timer.c)
    9285   */
    93 #if (BSP_IS_EDISON == 0)
    9486  Calibrate_loop_1ms();
    95 #endif
    9687
    9788  /*
     
    137128  pc386_parse_console_arguments();
    138129
    139 #if (BSP_IS_EDISON == 0)
    140130  Clock_driver_install_handler();
    141 #endif
    142131
    143132#if BSP_ENABLE_IDE
  • c/src/lib/libbsp/i386/pc386/startup/ldsegs.S

    r9cb874d rdd6992fd  
    121121+---------------------------------------------------------------------*/
    122122
    123 #if (BSP_IS_EDISON == 0)
    124123        movb    $0x11, al               /* initialization sequence          */
    125124        outb    al, $0x20               /* send it to 8259A-1               */
     
    157156        outb    al, $0x21               /* is cascaded                      */
    158157        call    SYM(pc386_delay)
    159 #endif
    160158        jmp     SYM (_establish_stack)  # return to the bsp entry code
    161159
Note: See TracChangeset for help on using the changeset viewer.