forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
powerpc/512x: move mpc5121_generic platform to mpc512x_generic.
This provides a base for using 512x_generic platform on mpc5125 boards. By this way 512x_GENERIC it could be used for all generic mpc512x boards and kernel could be compiled with mpc512x_defconfig. Signed-off-by: Matteo Facchinetti <[email protected]> [agust: applied s/mpc5121/mpc512x in mpc512x_generic.c] Signed-off-by: Anatolij Gustschin <[email protected]>
- Loading branch information
Showing
4 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
* Author: John Rigby, <[email protected]> | ||
* | ||
* Description: | ||
* MPC5121 SoC setup | ||
* MPC512x SoC setup | ||
* | ||
* This is free software; you can redistribute it and/or modify it | ||
* under the terms of the GNU General Public License as published by | ||
|
@@ -34,14 +34,14 @@ static const char * const board[] __initconst = { | |
/* | ||
* Called very early, MMU is off, device-tree isn't unflattened | ||
*/ | ||
static int __init mpc5121_generic_probe(void) | ||
static int __init mpc512x_generic_probe(void) | ||
{ | ||
return of_flat_dt_match(of_get_flat_dt_root(), board); | ||
} | ||
|
||
define_machine(mpc5121_generic) { | ||
.name = "MPC5121 generic", | ||
.probe = mpc5121_generic_probe, | ||
define_machine(mpc512x_generic) { | ||
.name = "MPC512x generic", | ||
.probe = mpc512x_generic_probe, | ||
.init = mpc512x_init, | ||
.init_early = mpc512x_init_diu, | ||
.setup_arch = mpc512x_setup_diu, | ||
|