summaryrefslogtreecommitdiff
path: root/board/mpc8641hpcn/pixis.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-05-30 17:47:00 -0500
committerJon Loeliger <jdl@jdl.com>2006-05-31 09:49:33 -0500
commit126aa70f10ba3d20e0a6f4d32328250513b77770 (patch)
tree0806cfd87d77478e11231200be08eb253e6b7cad /board/mpc8641hpcn/pixis.h
parent38cee12dcfcc257371c901c7e13e58ecab0a35d8 (diff)
downloadu-boot-imx-126aa70f10ba3d20e0a6f4d32328250513b77770.zip
u-boot-imx-126aa70f10ba3d20e0a6f4d32328250513b77770.tar.gz
u-boot-imx-126aa70f10ba3d20e0a6f4d32328250513b77770.tar.bz2
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.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/board/mpc8641hpcn/pixis.h b/board/mpc8641hpcn/pixis.h
new file mode 100644
index 0000000..cd9a45d
--- /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);