diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2017-09-02 08:43:53 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-09-03 15:30:35 -0400 |
commit | caa8bfbc456907fbab92a1c4f5890efcc8fb083e (patch) | |
tree | fa384661626d8db0446ab89d486a72ee7f6400b2 /include | |
parent | f1823d3aaa72cff4f6e979e3c4e4362c3ccc0751 (diff) | |
download | u-boot-caa8bfbc456907fbab92a1c4f5890efcc8fb083e.tar.gz |
block: ide: Drop CONFIG_IDE_LED
This is actually not used. Drop it.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/dbau1x00.h | 1 | ||||
-rw-r--r-- | include/configs/lsxl.h | 1 | ||||
-rw-r--r-- | include/configs/pb1x00.h | 1 | ||||
-rw-r--r-- | include/ide.h | 13 |
4 files changed, 0 insertions, 16 deletions
diff --git a/include/configs/dbau1x00.h b/include/configs/dbau1x00.h index b0707143c2..1f0c11c310 100644 --- a/include/configs/dbau1x00.h +++ b/include/configs/dbau1x00.h @@ -159,7 +159,6 @@ #define CONFIG_SYS_IDE_MAXBUS 1 /* max. 1 IDE bus */ #define CONFIG_SYS_IDE_MAXDEVICE 1 /* max. 1 drive per IDE bus */ -#undef CONFIG_IDE_LED /* LED for ide not supported */ #undef CONFIG_IDE_RESET /* reset for ide not supported */ #define CONFIG_SYS_ATA_IDE0_OFFSET 0x0000 diff --git a/include/configs/lsxl.h b/include/configs/lsxl.h index 7cbbe876b2..5d5851f516 100644 --- a/include/configs/lsxl.h +++ b/include/configs/lsxl.h @@ -142,7 +142,6 @@ #endif /* CONFIG_CMD_NET */ #ifdef CONFIG_IDE -#undef CONFIG_IDE_LED #undef CONFIG_SYS_IDE_MAXBUS #define CONFIG_SYS_IDE_MAXBUS 1 #undef CONFIG_SYS_IDE_MAXDEVICE diff --git a/include/configs/pb1x00.h b/include/configs/pb1x00.h index a9092d4b6d..f6816ddb04 100644 --- a/include/configs/pb1x00.h +++ b/include/configs/pb1x00.h @@ -112,7 +112,6 @@ #define CONFIG_SYS_IDE_MAXBUS 1 /* max. 1 IDE bus */ #define CONFIG_SYS_IDE_MAXDEVICE 1 /* max. 1 drive per IDE bus */ -#undef CONFIG_IDE_LED /* LED for ide not supported */ #undef CONFIG_IDE_RESET /* reset for ide not supported */ #define CONFIG_SYS_ATA_IDE0_OFFSET 0x0000 diff --git a/include/ide.h b/include/ide.h index a4be763804..4d788912f2 100644 --- a/include/ide.h +++ b/include/ide.h @@ -15,19 +15,6 @@ #define ATA_CURR_BASE(dev) (CONFIG_SYS_ATA_BASE_ADDR+ide_bus_offset[IDE_BUS(dev)]) extern ulong ide_bus_offset[]; -#ifdef CONFIG_IDE_LED - -/* - * LED Port - */ -#define LED_PORT ((uchar *)(PER8_BASE + 0x3000)) -#define LED_IDE1 0x01 -#define LED_IDE2 0x02 -#define DEVICE_LED(d) ((d & 2) | ((d & 2) == 0)) /* depends on bit positions! */ - -void ide_led(uchar led, uchar status); -#endif /* CONFIG_IDE_LED */ - /* * Function Prototypes */ |