ARM: 6997/1: ep93xx: increase NR_BANKS to 16 for support of 128MB RAM
[deliverable/linux.git] / arch / arm / include / asm / setup.h
index 95176af3df8cdd1a5df238b0d738da47db316bf6..b13720d2c98a21278075a015d40144b7beca4800 100644 (file)
@@ -192,7 +192,11 @@ static struct tagtable __tagtable_##fn __tag = { tag, fn }
 /*
  * Memory map description
  */
-#define NR_BANKS 8
+#ifdef CONFIG_ARCH_EP93XX
+# define NR_BANKS 16
+#else
+# define NR_BANKS 8
+#endif
 
 struct membank {
        phys_addr_t start;
@@ -217,6 +221,10 @@ extern struct meminfo meminfo;
 #define bank_phys_end(bank)    ((bank)->start + (bank)->size)
 #define bank_phys_size(bank)   (bank)->size
 
+extern int arm_add_memory(phys_addr_t start, unsigned long size);
+extern void early_print(const char *str, ...);
+extern void dump_machine_table(void);
+
 #endif  /*  __KERNEL__  */
 
 #endif
This page took 0.024612 seconds and 5 git commands to generate.