Root/nandboot/src/jz4730_board.c

1/*
2 * board-pmp.c
3 *
4 * JZ4730-based PMP board routines.
5 *
6 * Copyright (c) 2005-2008 Ingenic Semiconductor Inc.
7 * Author: <jlwei@ingenic.cn>
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
13 */
14
15#include <config.h>
16#include <jz4730.h>
17#include <jz4730_board.h>
18
19#ifdef CONFIG_JZ4730
20
21void gpio_init(void)
22{
23    __harb_usb0_uhc();
24    __gpio_as_emc();
25    __gpio_as_uart0();
26    __gpio_as_uart3();
27}
28
29#endif /* CONFIG_JZ4730 */
30

Archive Download this file



interactive