Merge branch 'sun9i-a80-spl' of http://git.denx.de/u-boot-sunxi
This commit is contained in:
@@ -119,6 +119,7 @@ config MACH_SUN9I
|
||||
bool "sun9i (Allwinner A80)"
|
||||
select CPU_V7
|
||||
select SUNXI_GEN_SUN6I
|
||||
select SUPPORT_SPL
|
||||
|
||||
config MACH_SUN50I
|
||||
bool "sun50i (Allwinner A64)"
|
||||
@@ -141,11 +142,13 @@ config DRAM_TYPE
|
||||
|
||||
config DRAM_CLK
|
||||
int "sunxi dram clock speed"
|
||||
default 792 if MACH_SUN9I
|
||||
default 312 if MACH_SUN6I || MACH_SUN8I
|
||||
default 360 if MACH_SUN4I || MACH_SUN5I || MACH_SUN7I
|
||||
---help---
|
||||
Set the dram clock speed, valid range 240 - 480, must be a multiple
|
||||
of 24.
|
||||
Set the dram clock speed, valid range 240 - 480 (prior to sun9i),
|
||||
must be a multiple of 24. For the sun9i (A80), the tested values
|
||||
(for DDR3-1600) are 312 to 792.
|
||||
|
||||
if MACH_SUN5I || MACH_SUN7I
|
||||
config DRAM_MBUS_CLK
|
||||
@@ -160,6 +163,7 @@ config DRAM_ZQ
|
||||
int "sunxi dram zq value"
|
||||
default 123 if MACH_SUN4I || MACH_SUN5I || MACH_SUN6I || MACH_SUN8I
|
||||
default 127 if MACH_SUN7I
|
||||
default 4145117 if MACH_SUN9I
|
||||
---help---
|
||||
Set the dram zq value.
|
||||
|
||||
@@ -252,7 +256,7 @@ endif
|
||||
config SYS_CLK_FREQ
|
||||
default 816000000 if MACH_SUN50I
|
||||
default 912000000 if MACH_SUN7I
|
||||
default 1008000000 if MACH_SUN4I || MACH_SUN5I || MACH_SUN6I || MACH_SUN8I
|
||||
default 1008000000 if MACH_SUN4I || MACH_SUN5I || MACH_SUN6I || MACH_SUN8I || MACH_SUN9I
|
||||
|
||||
config SYS_CONFIG_NAME
|
||||
default "sun4i" if MACH_SUN4I
|
||||
|
||||
@@ -94,6 +94,11 @@ M: Stefan Mavrodiev <stefan.mavrodiev@gmail.com>
|
||||
S: Maintained
|
||||
F: configs/A33-OLinuXino_defconfig
|
||||
|
||||
A80 OPTIMUS BOARD
|
||||
M: Chen-Yu Tsai <wens@csie.org>
|
||||
S: Maintained
|
||||
F: configs/Merrii_A80_Optimus_defconfig
|
||||
|
||||
AINOL AW1 BOARD
|
||||
M: Paul Kocialkowski <contact@paulk.fr>
|
||||
S: Maintained
|
||||
@@ -117,6 +122,11 @@ F: include/configs/sun7i.h
|
||||
F: configs/Cubieboard2_defconfig
|
||||
F: configs/Cubietruck_defconfig
|
||||
|
||||
CUBIEBOARD4 BOARD
|
||||
M: Chen-Yu Tsai <wens@csie.org>
|
||||
S: Maintained
|
||||
F: configs/Cubieboard4_defconfig
|
||||
|
||||
CUBIETRUCK-PLUS BOARD
|
||||
M: Chen-Yu Tsai <wens@csie.org>
|
||||
S: Maintained
|
||||
|
||||
@@ -307,6 +307,13 @@ static void mmc_pinmux_setup(int sdc)
|
||||
sunxi_gpio_set_pull(pin, SUNXI_GPIO_PULL_UP);
|
||||
sunxi_gpio_set_drv(pin, 2);
|
||||
}
|
||||
#elif defined(CONFIG_MACH_SUN9I)
|
||||
/* SDC2: PC6-PC16 */
|
||||
for (pin = SUNXI_GPC(6); pin <= SUNXI_GPC(16); pin++) {
|
||||
sunxi_gpio_set_cfgpin(pin, SUNXI_GPC_SDC2);
|
||||
sunxi_gpio_set_pull(pin, SUNXI_GPIO_PULL_UP);
|
||||
sunxi_gpio_set_drv(pin, 2);
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user