Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
*/
static __init void memory_setup(void)
{
+#ifdef CONFIG_MTD_UCLINUX
+ unsigned long mtd_phys = 0;
+#endif
+
_rambase = (unsigned long)_stext;
_ramstart = (unsigned long)_end;
void __init setup_arch(char **cmdline_p)
{
unsigned long l1_length, sclk, cclk;
-#ifdef CONFIG_MTD_UCLINUX
- unsigned long mtd_phys = 0;
-#endif
#ifdef CONFIG_DUMMY_CONSOLE
conswitchp = &dummy_con;