Changeset 85602e0d in rtems


Ignore:
Timestamp:
May 9, 2018, 7:47:37 PM (12 months ago)
Author:
Joel Sherrill <joel@…>
Branches:
master
Children:
c8dcdf54
Parents:
2a1171d8
Message:

smdk2410: Move define of CPU_S3C2410 to bspopts.h

Updates #3425.

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • bsps/arm/smdk2410/config/smdk2410.cfg

    r2a1171d8 r85602e0d  
    99#  This contains the compiler options necessary to select the CPU model
    1010#  and (hopefully) optimize for it.
    11 CPU_CFLAGS = -mcpu=arm920t -DCPU_S3C2410
     11CPU_CFLAGS = -mcpu=arm920t
    1212
    1313# optimize flag: typically -O2
  • bsps/arm/smdk2410/include/bsp/irq.h

    r2a1171d8 r85602e0d  
    8787#define BSP_INT_ADC          31
    8888#define BSP_MAX_INT          32
     89#else
     90#error "Undefined Samsung CPU model"
    8991#endif
    9092
  • bsps/arm/smdk2410/include/s3c24xx.h

    r2a1171d8 r85602e0d  
    99#define S3C24XX_H_
    1010
     11#include <bspopts.h>
     12
    1113#ifdef CPU_S3C2400
    1214#include<s3c2400.h>
    1315#elif defined CPU_S3C2410
    1416#include<s3c2410.h>
     17#else
     18#error "Undefined Samsung CPU model"
    1519#endif
    1620
  • c/src/lib/libbsp/arm/smdk2410/configure.ac

    r2a1171d8 r85602e0d  
    1212RTEMS_BSP_CONFIGURE
    1313
    14 
    15 
    1614RTEMS_BSPOPTS_SET([ON_SKYEYE],[*],[])
    1715RTEMS_BSPOPTS_HELP([ON_SKYEYE],
     
    2119 the wall time required to execute the RTEMS test suites.])
    2220
     21RTEMS_BSPOPTS_SET([CPU_S3C2410],[smdk2410],[1])
     22RTEMS_BSPOPTS_SET([CPU_S3C2410],[*],[])
     23RTEMS_BSPOPTS_HELP([CPU_S3C2410],
     24[If defined, enable optons for the S3C2410 CPU model.])
     25
    2326RTEMS_BSP_CLEANUP_OPTIONS
    2427
Note: See TracChangeset for help on using the changeset viewer.