sd.h: Move sd.h to include/hw/sd/
Create a sd directory under include/hw/ and move sd.h to include/hw/sd/ Signed-off-by: Sai Pavan Boddu <saipava@xilinx.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com> Reviewed-by: Peter Crosthwaite <crosthwaite.peter@gmail.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
		
							parent
							
								
									10a06fd65f
								
							
						
					
					
						commit
						e3382ef0ea
					
				@ -28,7 +28,7 @@
 | 
				
			|||||||
#include "qemu/error-report.h"
 | 
					#include "qemu/error-report.h"
 | 
				
			||||||
#include "sysemu/block-backend.h"
 | 
					#include "sysemu/block-backend.h"
 | 
				
			||||||
#include "sysemu/blockdev.h"
 | 
					#include "sysemu/blockdev.h"
 | 
				
			||||||
#include "hw/sd.h"
 | 
					#include "hw/sd/sd.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
enum {
 | 
					enum {
 | 
				
			||||||
    ENABLE_CMD_TX   = (1<<0),
 | 
					    ENABLE_CMD_TX   = (1<<0),
 | 
				
			||||||
 | 
				
			|||||||
@ -18,7 +18,7 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
#include "hw/hw.h"
 | 
					#include "hw/hw.h"
 | 
				
			||||||
#include "hw/arm/omap.h"
 | 
					#include "hw/arm/omap.h"
 | 
				
			||||||
#include "hw/sd.h"
 | 
					#include "hw/sd/sd.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct omap_mmc_s {
 | 
					struct omap_mmc_s {
 | 
				
			||||||
    qemu_irq irq;
 | 
					    qemu_irq irq;
 | 
				
			||||||
 | 
				
			|||||||
@ -10,7 +10,7 @@
 | 
				
			|||||||
#include "sysemu/block-backend.h"
 | 
					#include "sysemu/block-backend.h"
 | 
				
			||||||
#include "sysemu/blockdev.h"
 | 
					#include "sysemu/blockdev.h"
 | 
				
			||||||
#include "hw/sysbus.h"
 | 
					#include "hw/sysbus.h"
 | 
				
			||||||
#include "hw/sd.h"
 | 
					#include "hw/sd/sd.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//#define DEBUG_PL181 1
 | 
					//#define DEBUG_PL181 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -12,7 +12,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "hw/hw.h"
 | 
					#include "hw/hw.h"
 | 
				
			||||||
#include "hw/arm/pxa.h"
 | 
					#include "hw/arm/pxa.h"
 | 
				
			||||||
#include "hw/sd.h"
 | 
					#include "hw/sd/sd.h"
 | 
				
			||||||
#include "hw/qdev.h"
 | 
					#include "hw/qdev.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct PXA2xxMMCIState {
 | 
					struct PXA2xxMMCIState {
 | 
				
			||||||
 | 
				
			|||||||
@ -31,7 +31,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
#include "hw/hw.h"
 | 
					#include "hw/hw.h"
 | 
				
			||||||
#include "sysemu/block-backend.h"
 | 
					#include "sysemu/block-backend.h"
 | 
				
			||||||
#include "hw/sd.h"
 | 
					#include "hw/sd/sd.h"
 | 
				
			||||||
#include "qemu/bitmap.h"
 | 
					#include "qemu/bitmap.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//#define DEBUG_SD 1
 | 
					//#define DEBUG_SD 1
 | 
				
			||||||
 | 
				
			|||||||
@ -29,7 +29,7 @@
 | 
				
			|||||||
#include "hw/block/block.h"
 | 
					#include "hw/block/block.h"
 | 
				
			||||||
#include "hw/pci/pci.h"
 | 
					#include "hw/pci/pci.h"
 | 
				
			||||||
#include "hw/sysbus.h"
 | 
					#include "hw/sysbus.h"
 | 
				
			||||||
#include "hw/sd.h"
 | 
					#include "hw/sd/sd.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* R/W SDMA System Address register 0x0 */
 | 
					/* R/W SDMA System Address register 0x0 */
 | 
				
			||||||
#define SDHC_SYSAD                     0x00
 | 
					#define SDHC_SYSAD                     0x00
 | 
				
			||||||
 | 
				
			|||||||
@ -13,7 +13,7 @@
 | 
				
			|||||||
#include "sysemu/block-backend.h"
 | 
					#include "sysemu/block-backend.h"
 | 
				
			||||||
#include "sysemu/blockdev.h"
 | 
					#include "sysemu/blockdev.h"
 | 
				
			||||||
#include "hw/ssi.h"
 | 
					#include "hw/ssi.h"
 | 
				
			||||||
#include "hw/sd.h"
 | 
					#include "hw/sd/sd.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//#define DEBUG_SSI_SD 1
 | 
					//#define DEBUG_SSI_SD 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user