"Das U-Boot" Source Tree
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

include/ide.h: Cleanup usage

At this point in time, <ide.h> provides the IDE_BUS macro and the
function prototype for ide_set_reset, which is used with IDE_RESET. The
only files which should include this header are the ones that either use
that macro or that function. Remove <blk.h> from <ide.h> and remove
<ide.h> from places which do not need it.

Signed-off-by: Tom Rini <trini@konsulko.com>

Tom Rini d81b57a3 43d76dc7

+2 -11
+1
board/freescale/m5253demo/m5253demo.c
··· 93 93 94 94 #ifdef CONFIG_IDE 95 95 #include <ata.h> 96 + #include <ide.h> 96 97 void ide_set_reset(int idereset) 97 98 { 98 99 atac_t *ata = (atac_t *) CONFIG_SYS_ATA_BASE_ADDR;
-1
board/imgtec/malta/malta.c
··· 6 6 7 7 #include <config.h> 8 8 #include <fdt_support.h> 9 - #include <ide.h> 10 9 #include <init.h> 11 10 #include <net.h> 12 11 #include <netdev.h>
-1
cmd/ide.c
··· 19 19 #include <dm/device-internal.h> 20 20 #include <dm/uclass-internal.h> 21 21 22 - #include <ide.h> 23 22 #include <ata.h> 24 23 25 24 #ifdef CONFIG_LED_STATUS
-1
common/board_r.c
··· 36 36 #include <env.h> 37 37 #include <env_internal.h> 38 38 #include <fdtdec.h> 39 - #include <ide.h> 40 39 #include <init.h> 41 40 #include <initcall.h> 42 41 #include <kgdb.h>
-1
disk/part.c
··· 8 8 #include <command.h> 9 9 #include <env.h> 10 10 #include <errno.h> 11 - #include <ide.h> 12 11 #include <log.h> 13 12 #include <malloc.h> 14 13 #include <part.h>
-1
disk/part_amiga.c
··· 6 6 */ 7 7 #include <command.h> 8 8 #include <env.h> 9 - #include <ide.h> 10 9 #include "part_amiga.h" 11 10 #include <part.h> 12 11 #include <vsprintf.h>
-1
disk/part_dos.c
··· 15 15 16 16 #include <blk.h> 17 17 #include <command.h> 18 - #include <ide.h> 19 18 #include <memalign.h> 20 19 #include <vsprintf.h> 21 20 #include <asm/unaligned.h>
-1
disk/part_efi.c
··· 21 21 #include <asm/unaligned.h> 22 22 #include <command.h> 23 23 #include <fdtdec.h> 24 - #include <ide.h> 25 24 #include <malloc.h> 26 25 #include <memalign.h> 27 26 #include <part_efi.h>
-1
disk/part_mac.c
··· 15 15 #include <command.h> 16 16 #include <log.h> 17 17 #include <memalign.h> 18 - #include <ide.h> 19 18 #include "part_mac.h" 20 19 #include <part.h> 21 20
-2
include/ide.h
··· 7 7 #ifndef _IDE_H 8 8 #define _IDE_H 9 9 10 - #include <blk.h> 11 - 12 10 #define IDE_BUS(dev) (dev / (CONFIG_SYS_IDE_MAXDEVICE / CONFIG_SYS_IDE_MAXBUS)) 13 11 14 12 /**
-1
include/part.h
··· 7 7 #define _PART_H 8 8 9 9 #include <blk.h> 10 - #include <ide.h> 11 10 #include <u-boot/uuid.h> 12 11 #include <linker_lists.h> 13 12 #include <linux/errno.h>
+1
lib/efi_loader/efi_device_path.c
··· 10 10 #include <blk.h> 11 11 #include <dm.h> 12 12 #include <dm/root.h> 13 + #include <ide.h> 13 14 #include <log.h> 14 15 #include <net.h> 15 16 #include <usb.h>