sf: Warn to use BAR for > 16MiB flashes
[platform/kernel/u-boot.git] / arch / arm / include / asm / arch-am33xx / sys_proto.h
index 1e265c6..fedc674 100644 (file)
 #define _SYS_PROTO_H_
 
 #define BOARD_REV_ID   0x0
-struct {
-       u32 board_type_v1;
-       u32 board_type_v2;
-       u32 mtype;
-       char *board_string;
-       char *nand_string;
-} board_sysinfo;
 
 u32 get_cpu_rev(void);
 u32 get_sysboot_value(void);
@@ -35,5 +28,17 @@ u32 get_sysboot_value(void);
 int print_cpuinfo(void);
 #endif
 
+extern struct ctrl_stat *cstat;
 u32 get_device_type(void);
+void save_omap_boot_params(void);
+void setup_clocks_for_console(void);
+void ddr_pll_config(unsigned int ddrpll_M);
+
+void sdelay(unsigned long);
+
+struct gpmc_cs;
+void gpmc_init(void);
+void enable_gpmc_cs_config(const u32 *gpmc_config, struct gpmc_cs *cs, u32 base,
+                       u32 size);
+void omap_nand_switch_ecc(uint32_t, uint32_t);
 #endif