]> git.sur5r.net Git - u-boot/blobdiff - drivers/spmi/spmi-sandbox.c
usb: ohci: change the NUM_EDs from 8 to 32
[u-boot] / drivers / spmi / spmi-sandbox.c
index 980aff2063a5308dc89647865caa7d0fd3dbbf4a..0da419c50529487a57db4e32903adde62abc7992 100644 (file)
@@ -1,11 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Sample SPMI bus driver
  *
  * It emulates bus with single pm8916-like pmic that has only GPIO reigsters.
  *
  * (C) Copyright 2015 Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -15,8 +14,6 @@
 #include <asm/gpio.h>
 #include <asm/io.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 #define EMUL_GPIO_PID_START 0xC0
 #define EMUL_GPIO_PID_END   0xC3