diff options
author | wdenk <wdenk> | 2003-06-03 23:54:09 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-06-03 23:54:09 +0000 |
commit | 682011ff6968198da14b89e40d9f55b00f6d91f7 (patch) | |
tree | 18793a72134a5262daf281ab0b904ab16f5337ac /include/status_led.h | |
parent | 7a8e9bed17d7924a9c5c4699b1f6a3a0359524ed (diff) | |
download | bootable_bootloader_goldelico_gta04-682011ff6968198da14b89e40d9f55b00f6d91f7.zip bootable_bootloader_goldelico_gta04-682011ff6968198da14b89e40d9f55b00f6d91f7.tar.gz bootable_bootloader_goldelico_gta04-682011ff6968198da14b89e40d9f55b00f6d91f7.tar.bz2 |
* Patches by Udi Finkelstein, 2 June 2003:
- Added support for custom keyboards, initialized by defining a
board-specific drv_keyboard_init as well as defining CONFIG_KEYBOARD .
- Added support for the RBC823 board.
- cpu/mpc8xx/lcd.c now automatically calculates the
Horizontal Pixel Count field.
* Fix alignment problem in BOOTP (dhcp_leasetime option)
[pointed out by Nicolas Lacressonnière, 2 Jun 2003]
* Patch by Mark Rakes, 14 May 2003:
add support for Intel e1000 gig cards.
* Patch by Nye Liu, 3 Jun 2003:
fix critical typo in MAMR definition (include/mpc8xx.h)
* Fix requirement to align U-Boot image on 16 kB boundaries on PPC.
* Patch by Klaus Heydeck, 2 Jun 2003
Minor changes for KUP4K configuration
Diffstat (limited to 'include/status_led.h')
-rw-r--r-- | include/status_led.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/status_led.h b/include/status_led.h index 0d5a56e..c1fb7f3 100644 --- a/include/status_led.h +++ b/include/status_led.h @@ -296,6 +296,25 @@ void status_led_set (int led, int state); # define STATUS_LED_BOOT 0 /* LED 0 used for boot status */ +/***** RBC823 ********************************************************/ +#elif defined(CONFIG_RBC823) + +# define STATUS_LED_PAR im_ioport.iop_pcpar +# define STATUS_LED_DIR im_ioport.iop_pcdir +# undef STATUS_LED_ODR +# define STATUS_LED_DAT im_ioport.iop_pcdat + +# define STATUS_LED_BIT 0x0002 /* LED 0 is on PC.14 */ +# define STATUS_LED_PERIOD (CFG_HZ / 2) +# define STATUS_LED_STATE STATUS_LED_BLINKING +# define STATUS_LED_BIT1 0x0004 /* LED 1 is on PC.13 */ +# define STATUS_LED_PERIOD1 (CFG_HZ) +# define STATUS_LED_STATE1 STATUS_LED_OFF + +# define STATUS_LED_ACTIVE 1 /* LED on for bit == 1 */ + +# define STATUS_LED_BOOT 0 /* LED 0 used for boot status */ + /************************************************************************/ #else # error Status LED configuration missing |