2 * Authors: Xiangfu Liu <xiangfu.z@gmail.com>
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version
7 * 3 of the License, or (at your option) any later version.
12 #include <asm/mipsregs.h>
13 #include <asm/jz4740.h>
15 DECLARE_GLOBAL_DATA_PTR
;
17 static void gpio_init(void)
20 * Initialize NAND Flash Pins
25 * Initialize SDRAM pins
27 __gpio_as_sdram_16bit_4725();
30 * Initialize UART0 pins
37 __gpio_as_lcd_18bit();
60 * Initialize Other pins
62 __gpio_as_input(GPIO_SD_DETECT
);
63 __gpio_disable_pull(GPIO_SD_DETECT
);
66 static void cpm_init(void)
79 void board_early_init(void)
82 //cpm_init(); //TODO SAKC
85 /* U-Boot common routines */
90 printf("Board: SAKC (Ingenic XBurst Jz4725 SoC, Speed %d MHz)\n",
93 return 0; /* success */
This page took 0.049492 seconds and 5 git commands to generate.