diff options
author | Jon Loeliger <jdl@freescale.com> | 2006-05-30 17:47:00 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@jdl.com> | 2006-05-31 09:49:33 -0500 |
commit | 126aa70f10ba3d20e0a6f4d32328250513b77770 (patch) | |
tree | 0806cfd87d77478e11231200be08eb253e6b7cad /board/mpc8641hpcn/pixis.h | |
parent | 38cee12dcfcc257371c901c7e13e58ecab0a35d8 (diff) | |
download | u-boot-midas-126aa70f10ba3d20e0a6f4d32328250513b77770.tar.gz u-boot-midas-126aa70f10ba3d20e0a6f4d32328250513b77770.tar.bz2 u-boot-midas-126aa70f10ba3d20e0a6f4d32328250513b77770.zip |
Move mpc86xx PIXIS code to board directory
First cut at moving the PIXIS platform code out of
the 86xx cpu directory and into board/mpc8641hpcn
where it belongs.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'board/mpc8641hpcn/pixis.h')
-rw-r--r-- | board/mpc8641hpcn/pixis.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/board/mpc8641hpcn/pixis.h b/board/mpc8641hpcn/pixis.h new file mode 100644 index 0000000000..cd9a45db87 --- /dev/null +++ b/board/mpc8641hpcn/pixis.h @@ -0,0 +1,33 @@ +/* + * Copyright 2006 Freescale Semiconductor + * + * See file CREDITS for list of people who contributed to this + * project. + * + * This program 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. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + */ + +extern int set_px_sysclk(ulong sysclk); +extern int set_px_mpxpll(ulong mpxpll); +extern int set_px_corepll(ulong corepll); +extern void read_from_px_regs(int set); +extern void read_from_px_regs_altbank(int set); +extern void set_altbank(void); +extern void set_px_go(void); +extern void set_px_go_with_watchdog(void); +extern int disable_watchdog(cmd_tbl_t *cmdtp, + int flag, int argc, char *argv[]); +extern ulong strfractoint(uchar *strptr); |