Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37314540 authored by Greg Ungerer's avatar Greg Ungerer
Browse files

m68k: add code to setup a ColdFire 54xx platform when MMU enabled



We use the same setup code for ColdFire MMU enabled platforms as
standard m68k. So add support for it to setup our 54xx ColdFire
platforms. They do not support the same bootinfo parsing as other
m68k platforms.

Signed-off-by: default avatarGreg Ungerer <gerg@uclinux.org>
Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Acked-by: default avatarMatt Waddel <mwaddel@yahoo.com>
Acked-by: default avatarKurt Mahan <kmahan@xmission.com>
parent ef6aa00d
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -221,6 +221,7 @@ void __init setup_arch(char **cmdline_p)
#endif

	/* The bootinfo is located right after the kernel bss */
	if (!CPU_IS_COLDFIRE)
		m68k_parse_bootinfo((const struct bi_record *)_end);

	if (CPU_IS_040)
@@ -326,6 +327,11 @@ void __init setup_arch(char **cmdline_p)
	case MACH_SUN3X:
		config_sun3x();
		break;
#endif
#ifdef CONFIG_COLDFIRE
	case MACH_M54XX:
		config_BSP(NULL, 0);
		break;
#endif
	default:
		panic("No configuration setup");