2 * This file contains miscellaneous low-level functions for PPC 44x.
3 * Copyright 2007 David Gibson <dwg@au1.ibm.com>, IBM Corporation.
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version
8 * 2 of the License, or (at your option) any later version.
13 #include <asm/ppc_asm.h>
18 * Do an IO access in AS1
49 * void ppc44x_reset_system(char *cmd)
51 * At present, this routine just applies a system reset.
53 _GLOBAL(ppc44x_reset_system)
55 oris r13,r13,DBCR0_RST_SYSTEM@h
57 b . /* Just in case the reset doesn't work */