aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2017-09-02 08:43:53 -0700
committerTom Rini <trini@konsulko.com>2017-09-03 15:30:35 -0400
commitcaa8bfbc456907fbab92a1c4f5890efcc8fb083e (patch)
treefa384661626d8db0446ab89d486a72ee7f6400b2 /include
parentf1823d3aaa72cff4f6e979e3c4e4362c3ccc0751 (diff)
downloadu-boot-caa8bfbc456907fbab92a1c4f5890efcc8fb083e.zip
u-boot-caa8bfbc456907fbab92a1c4f5890efcc8fb083e.tar.gz
u-boot-caa8bfbc456907fbab92a1c4f5890efcc8fb083e.tar.bz2
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.h1
-rw-r--r--include/configs/lsxl.h1
-rw-r--r--include/configs/pb1x00.h1
-rw-r--r--include/ide.h13
4 files changed, 0 insertions, 16 deletions
diff --git a/include/configs/dbau1x00.h b/include/configs/dbau1x00.h
index b070714..1f0c11c 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 7cbbe87..5d5851f 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 a9092d4..f6816dd 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 a4be763..4d78891 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
*/