diff options
| author | Thomas Chou <thomas@wytron.com.tw> | 2012-11-05 12:51:54 +0800 | 
|---|---|---|
| committer | Thomas Chou <thomas@wytron.com.tw> | 2012-11-10 19:45:58 +0800 | 
| commit | db71964235c1dfa13ec398da483b0bdbbf31d5b7 (patch) | |
| tree | d30141816f2af3fad7f05fea8b5dee4dd98058c1 /include/status_led.h | |
| parent | 4f63bfb68945ce5ebf0a819152014ba0f88f76ff (diff) | |
| download | olio-uboot-2014.01-db71964235c1dfa13ec398da483b0bdbbf31d5b7.tar.xz olio-uboot-2014.01-db71964235c1dfa13ec398da483b0bdbbf31d5b7.zip | |
nios2: remove asm/status_led.h
The file has a wrong inline keyword of __led_toggle(), which causes
compilation error. And its content is defined in common status_led.h.
So define CONFIG_BOARD_SPECIFIC_LED in board config files and remove
this header file.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Diffstat (limited to 'include/status_led.h')
| -rw-r--r-- | include/status_led.h | 3 | 
1 files changed, 0 insertions, 3 deletions
| diff --git a/include/status_led.h b/include/status_led.h index da9fae920..27e912769 100644 --- a/include/status_led.h +++ b/include/status_led.h @@ -273,9 +273,6 @@ void status_led_set  (int led, int state);  #elif defined(CONFIG_STXXTC)  /* XXX empty just to avoid the error */  /************************************************************************/ -#elif defined(CONFIG_NIOS2) -/* XXX empty just to avoid the error */ -/************************************************************************/  #elif defined(CONFIG_V38B)  # define STATUS_LED_BIT		0x0010			/* Timer7 GPIO */ |