From: Simon Glass Date: Thu, 5 Mar 2015 19:25:30 +0000 (-0700) Subject: dm: sandbox: pci: Enable PCI for sandbox X-Git-Tag: v2015.07-rc1~320 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a33aca10ac962ef54e2c9abbcc17c532f046bd74;p=oweals%2Fu-boot.git dm: sandbox: pci: Enable PCI for sandbox Enable PCI options so that sandbox can be used for testing this bus with driver model. Signed-off-by: Simon Glass --- diff --git a/configs/sandbox_defconfig b/configs/sandbox_defconfig index a216039ab2..24d71d09a4 100644 --- a/configs/sandbox_defconfig +++ b/configs/sandbox_defconfig @@ -10,3 +10,6 @@ CONFIG_DM_CROS_EC=y CONFIG_CROS_EC_SANDBOX=y CONFIG_CROS_EC_KEYB=y CONFIG_CMD_CROS_EC=y +CONFIG_PCI=y +CONFIG_DM_PCI=y +CONFIG_PCI_SANDBOX=y diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile index 6028cd43fb..842209a2ec 100644 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile @@ -26,6 +26,7 @@ obj-$(CONFIG_SANDBOX) += i2c_eeprom_emul.o endif obj-$(CONFIG_SMSC_LPC47M) += smsc_lpc47m.o obj-$(CONFIG_STATUS_LED) += status_led.o +obj-$(CONFIG_SANDBOX) += swap_case.o obj-$(CONFIG_TWL4030_LED) += twl4030_led.o obj-$(CONFIG_FSL_IFC) += fsl_ifc.o obj-$(CONFIG_FSL_SEC_MON) += fsl_sec_mon.o diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index febbfb69f6..c12c53896a 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -34,6 +34,10 @@ #define CONFIG_CMD_FDT #define CONFIG_ANDROID_BOOT_IMAGE +#define CONFIG_CMD_PCI +#define CONFIG_PCI_PNP +#define CONFIG_CMD_IO + #define CONFIG_FS_FAT #define CONFIG_FAT_WRITE #define CONFIG_FS_EXT4