common: Move jumptable_init() out of common.h
[oweals/u-boot.git] / include / common.h
index 8b37b58747474cad67d0ac19cfe0cc66bf27b4c0..6b7b199ab45dcb11572766c7a9618754123b92c6 100644 (file)
@@ -15,7 +15,6 @@
 
 #ifndef __ASSEMBLY__           /* put C only stuff in this section */
 
-typedef unsigned char          uchar;
 typedef volatile unsigned long vu_long;
 typedef volatile unsigned short vu_short;
 typedef volatile unsigned char vu_char;
@@ -64,15 +63,6 @@ void hang            (void) __attribute__ ((noreturn));
 
 #include <display_options.h>
 
-/* common/main.c */
-void   main_loop       (void);
-
-int checkflash(void);
-int checkdram(void);
-extern u8 __dtb_dt_begin[];    /* embedded device tree blob */
-extern u8 __dtb_dt_spl_begin[];        /* embedded device tree blob for SPL/TPL */
-int mdm_init(void);
-
 /**
  * arch_fixup_fdt() - Write arch-specific information to fdt
  *
@@ -83,9 +73,6 @@ int mdm_init(void);
  */
 int arch_fixup_fdt(void *blob);
 
-/* common/flash.c */
-void flash_perror (int);
-
 /* common/cmd_source.c */
 int    source (ulong addr, const char *fit_uname);
 
@@ -93,18 +80,6 @@ extern ulong load_addr;              /* Default Load Address */
 extern ulong save_addr;                /* Default Save Address */
 extern ulong save_size;                /* Default Save Size */
 
-/* common/cmd_net.c */
-int do_tftpb(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]);
-
-/* common/cmd_fat.c */
-int do_fat_fsload(cmd_tbl_t *, int, int, char * const []);
-
-/* common/cmd_ext2.c */
-int do_ext2load(cmd_tbl_t *, int, int, char * const []);
-
-/* common/exports.c */
-void   jumptable_init(void);
-
 /* common/kallsysm.c */
 const char *symbol_lookup(unsigned long addr, unsigned long *caddr);
 
@@ -124,12 +99,6 @@ void        fdc_hw_init   (void);
 int testdram(void);
 #endif /* CONFIG_SYS_DRAM_TEST */
 
-#if defined(CONFIG_ARM)
-void   relocate_code(ulong);
-#else
-void   relocate_code(ulong, gd_t *, ulong) __attribute__ ((noreturn));
-#endif
-
 void s_init(void);
 
 void   upmconfig     (unsigned int, unsigned int *, unsigned int);