]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/include/asm/arch-omap5/sys_proto.h
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / arch / arm / include / asm / arch-omap5 / sys_proto.h
index ab0e7fae9c7276b7ce0b5a18107f0f98cdf0d859..80b0c93b5eb350eefe1df6b4e2da40acb9bdb4e7 100644 (file)
@@ -1,8 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * (C) Copyright 2010
  * Texas Instruments, <www.ti.com>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _SYS_PROTO_H_
@@ -16,8 +15,6 @@
 #include <asm/arch/clock.h>
 #include <asm/ti-common/sys_proto.h>
 
-DECLARE_GLOBAL_DATA_PTR;
-
 /*
  * Structure for Iodelay configuration registers.
  * Theoretical max for g_delay is 21560 ps.
@@ -35,6 +32,12 @@ struct pad_conf_entry {
        u32 val;
 };
 
+struct mmc_platform_fixups {
+       const char *hw_rev;
+       u32 unsupported_caps;
+       u32 max_freq;
+};
+
 struct omap_sysinfo {
        char *board_string;
 };
@@ -62,6 +65,7 @@ u32 omap_sdram_size(void);
 u32 cortex_rev(void);
 void save_omap_boot_params(void);
 void init_omap_revision(void);
+void init_package_revision(void);
 void do_io_settings(void);
 void sri2c_init(void);
 int omap_vc_bypass_send_value(u8 sa, u8 reg_addr, u8 reg_data);
@@ -70,6 +74,7 @@ void force_emif_self_refresh(void);
 void get_ioregs(const struct ctrl_ioregs **regs);
 void srcomp_enable(void);
 void setup_warmreset_time(void);
+const struct mmc_platform_fixups *platform_fixups_mmc(uint32_t addr);
 
 static inline u32 div_round_up(u32 num, u32 den)
 {