diff options
author | Stefano Babic <sbabic@denx.de> | 2010-01-20 18:19:32 +0100 |
---|---|---|
committer | Tom Rix <Tom.Rix@windriver.com> | 2010-03-07 12:36:35 -0600 |
commit | 64fdf452a85718935d82416d141be144b262c542 (patch) | |
tree | f357525a27402c6ed1e5c44dbbf069b988621479 /include | |
parent | 18ba012b9b919a7c264dc6299f954d7f53d06605 (diff) | |
download | u-boot-imx-64fdf452a85718935d82416d141be144b262c542.zip u-boot-imx-64fdf452a85718935d82416d141be144b262c542.tar.gz u-boot-imx-64fdf452a85718935d82416d141be144b262c542.tar.bz2 |
MX51: Add initial support for the Freescale MX51
The patch add initial support for the Freescale i.MX51 processor
(family arm cortex_a8).
Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Fred Fan <fanyefeng@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-arm/arch-mx51/clock.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/asm-arm/arch-mx51/clock.h b/include/asm-arm/arch-mx51/clock.h new file mode 100644 index 0000000..449a191 --- /dev/null +++ b/include/asm-arm/arch-mx51/clock.h @@ -0,0 +1,31 @@ +/* + * (C) Copyright 2009 + * Stefano Babic, DENX Software Engineering, sbabic@denx.de. + * + * 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 + */ + +#ifndef __ASM_ARCH_CLOCK_H +#define __ASM_ARCH_CLOCK_H +unsigned int imx_decode_pll(unsigned int pll, unsigned int f_ref); + +ulong imx_get_uartclk(void); +ulong imx_get_fecclk(void); + +#endif /* __ASM_ARCH_CLOCK_H */ |