adc: update adc sanity check with new platform name

Change-Id: I2f1e6362a5da3b4c1a799eae0137144b57e0e554
Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@linux.intel.com>
This commit is contained in:
Juan Manuel Cruz 2015-12-04 10:12:18 -06:00 committed by Anas Nashif
commit 39a985a045
3 changed files with 6 additions and 2 deletions

View file

@ -0,0 +1,4 @@
CONFIG_ADC=y
CONFIG_ADC_DW=y
CONFIG_ADC_DW_0=y
CONFIG_NUM_IRQS=20

View file

@ -33,7 +33,7 @@
#define SLEEPTIME 10
#define SLEEPTICKS (SLEEPTIME * sys_clock_ticks_per_sec)
#ifdef CONFIG_PLATFORM_QUARK_SE_ARC
#ifdef CONFIG_PLATFORM_QUARK_SE_SS
#define ADC_DEVICE_NAME CONFIG_ADC_DW_NAME_0
#elif CONFIG_PLATFORM_GALILEO
#define ADC_DEVICE_NAME CONFIG_ADC_TI_ADC108S102_0_DRV_NAME

View file

@ -3,4 +3,4 @@ build_only = true
tags = apps
arch_whitelist = x86 arc
platform_whitelist = galileo quark_se-arc
platform_whitelist = galileo quark_se_ss