工具鏈:linaro提供的gcc-linaro-6.1.1-2016.08-x86_64_arm-linux-gnueabi
要移植的u-boot版本:u-boot-2016-11
Tiny4412開發板硬件版本爲:
底板: Tiny4412SDK 1312B
核心板:Tiny4412 - 1306
----------------------------------------------------------------------------------------------------------------------------------------------html
diff --git a/arch/arm/dts/exynos4412-tiny4412.dts b/arch/arm/dts/exynos4412-tiny index 36e2c6a..88c336a 100644
--- a/arch/arm/dts/exynos4412-tiny4412.dts +++ b/arch/arm/dts/exynos4412-tiny4412.dts @@ -78,24 +78,20 @@ }; sdhci@12510000 { - compatible = "samsung,exynos4412-sdhci"; status = "disable"; }; sdhci@12520000 { - compatible = "samsung,exynos4412-sdhci"; status = "disable"; }; sdhci@12530000 { - compatible = "samsung,exynos4412-sdhci"; samsung,bus-width = <4>; samsung,timing = <1 2 3>; cd-gpios = <&gpk2 2 0>; }; sdhci@12540000 { - compatible = "samsung,exynos4412-sdhci"; status = "disable"; }; @@ -124,6 +120,7 @@ compatible = "samsung,emmc-reset"; reset-gpio = <&gpk1 2 0>; }; + }; status = "disable"; }; sdhci@12520000 { - compatible = "samsung,exynos4412-sdhci"; status = "disable"; }; sdhci@12530000 { - compatible = "samsung,exynos4412-sdhci"; samsung,bus-width = <4>; samsung,timing = <1 2 3>; cd-gpios = <&gpk2 2 0>; }; sdhci@12540000 { - compatible = "samsung,exynos4412-sdhci"; status = "disable"; };
setenv bootcmd "load mmc 0 0x40007000 uImage; load mmc 0 0x48000000 ramdisk.img; load mmc 0 0x42000000 exynos4412-tiny4412.dtb; bootm 0x40007000 0x48000000 0x42000000"git
diff --git a/arch/arm/mach-exynos/clock.c b/arch/arm/mach-exynos/clock.c index 3d31f9d..a8fc72a 100644
--- a/arch/arm/mach-exynos/clock.c +++ b/arch/arm/mach-exynos/clock.c @@ -1688,8 +1688,8 @@ unsigned long get_mmc_clk(int dev_index) void set_mmc_clk(int dev_index, unsigned int div) { /* If want to set correct value, it needs to substract one from div.*/
- if (div > 0) - div -= 1; +// if (div > 0)
+// div -= 1;
if (cpu_is_exynos5()) { if (proid_is_exynos5420() || proid_is_exynos5422())