HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/30040
Change subject: sb/nvidia/{ck804,mcp55}: Remove define __SIMPLE_DEVICE__ ......................................................................
sb/nvidia/{ck804,mcp55}: Remove define __SIMPLE_DEVICE__
define __SIMPLE_DEVICE__is not needed as pci_devfn_t is already used.
Change-Id: I4dd770fcddf44aeec847d3651ec281af5f91fbf0 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/southbridge/nvidia/ck804/enable_usbdebug.c M src/southbridge/nvidia/ck804/reset.c M src/southbridge/nvidia/mcp55/enable_usbdebug.c M src/southbridge/nvidia/mcp55/reset.c 4 files changed, 0 insertions(+), 10 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/40/30040/1
diff --git a/src/southbridge/nvidia/ck804/enable_usbdebug.c b/src/southbridge/nvidia/ck804/enable_usbdebug.c index 7296e05..2e9a5e0 100644 --- a/src/southbridge/nvidia/ck804/enable_usbdebug.c +++ b/src/southbridge/nvidia/ck804/enable_usbdebug.c @@ -17,9 +17,6 @@ * GNU General Public License for more details. */
-// Use simple device model for this file even in ramstage -#define __SIMPLE_DEVICE__ - #include <stdint.h> #include <arch/io.h> #include <device/pci_ehci.h> diff --git a/src/southbridge/nvidia/ck804/reset.c b/src/southbridge/nvidia/ck804/reset.c index f828c53..f1ec77e 100644 --- a/src/southbridge/nvidia/ck804/reset.c +++ b/src/southbridge/nvidia/ck804/reset.c @@ -14,8 +14,6 @@ * GNU General Public License for more details. */
-#define __SIMPLE_DEVICE__ - #include <arch/io.h> #include <reset.h>
diff --git a/src/southbridge/nvidia/mcp55/enable_usbdebug.c b/src/southbridge/nvidia/mcp55/enable_usbdebug.c index 69e0859..4a48638 100644 --- a/src/southbridge/nvidia/mcp55/enable_usbdebug.c +++ b/src/southbridge/nvidia/mcp55/enable_usbdebug.c @@ -17,9 +17,6 @@ * GNU General Public License for more details. */
-// Use simple device model for this file even in ramstage -#define __SIMPLE_DEVICE__ - #include <stdint.h> #include <arch/io.h> #include <device/pci_ehci.h> diff --git a/src/southbridge/nvidia/mcp55/reset.c b/src/southbridge/nvidia/mcp55/reset.c index d6f7f6f..eb16ef1 100644 --- a/src/southbridge/nvidia/mcp55/reset.c +++ b/src/southbridge/nvidia/mcp55/reset.c @@ -17,8 +17,6 @@ * GNU General Public License for more details. */
-#define __SIMPLE_DEVICE__ - #include <arch/io.h> #include <reset.h>