mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
[POWERPC] 4xx: Create common ppc4xx_reset_system() in ppc4xx_soc.c
This patch creates a common system reset routine for all 40x and 44x systems. Previously only a 44x routine existed. But since this system reset via the debug control register is common for 40x and 44x let's share this code for all those platforms in ppc4xx_soc.c. This patch also enables CONFIG_4xx_SOC for all 40x and 44x platforms. Tested on Kilauea (405EX) and Canyonlands (440EX). Signed-off-by: Stefan Roese <[email protected]> Signed-off-by: Josh Boyer <[email protected]>
This commit is contained in:
parent
d2477b5cc8
commit
93173ce272
19 changed files with 64 additions and 43 deletions
18
include/asm-powerpc/ppc4xx.h
Normal file
18
include/asm-powerpc/ppc4xx.h
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* PPC4xx Prototypes and definitions
|
||||
*
|
||||
* Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de>
|
||||
*
|
||||
* This is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ASM_POWERPC_PPC4xx_H__
|
||||
#define __ASM_POWERPC_PPC4xx_H__
|
||||
|
||||
extern void ppc4xx_reset_system(char *cmd);
|
||||
|
||||
#endif /* __ASM_POWERPC_PPC4xx_H__ */
|
||||
Loading…
Reference in a new issue