summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--[-rwxr-xr-x]include/asm-arm/arch-stw8500/common.h13
-rwxr-xr-xinclude/asm-arm/arch-stw8500/gpio.h3
2 files changed, 10 insertions, 6 deletions
diff --git a/include/asm-arm/arch-stw8500/common.h b/include/asm-arm/arch-stw8500/common.h
index 4b8c2b80a..38079b79c 100755..100644
--- a/include/asm-arm/arch-stw8500/common.h
+++ b/include/asm-arm/arch-stw8500/common.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*/
-#ifndef _COMMON_H_
-#define _COMMON_H_
+#ifndef _DB8500_COMMON_H_
+#define _DB8500_COMMON_H_
#include <common.h>
#define PASS (1)
@@ -128,6 +128,11 @@ typedef u32 t_logical_address;
/*function prototypes*/
void gpio_init(void);
-int emmc_init (u8);
-#endif /* _COMMON_H_ */
+int u8500_is_earlydrop(void);
+int cpu_is_u8500v11(void);
+int cpu_is_u8500v1(void);
+int cpu_is_u8500v2(void);
+
+int board_early_access(block_dev_desc_t *block_dev);
+#endif /* _DB8500_COMMON_H_ */
diff --git a/include/asm-arm/arch-stw8500/gpio.h b/include/asm-arm/arch-stw8500/gpio.h
index 24f3c6ee6..fbff7fcb6 100755
--- a/include/asm-arm/arch-stw8500/gpio.h
+++ b/include/asm-arm/arch-stw8500/gpio.h
@@ -26,8 +26,7 @@
#include <asm/io.h>
#include <asm/errno.h>
-#include "common.h"
-#include <configs/u8500.h>
+#include <asm/arch/common.h>
#define GPIO_TOTAL_PINS 268