mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-30 16:40:44 +09:00
rk3288: vyasa: Add eMMC boot support
RK3288 Vyasa has eMMC boot support, with JP4 open. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
159916f4e8
commit
1e84e44cfe
@ -20,6 +20,10 @@
|
|||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&emmc {
|
||||||
|
u-boot,dm-pre-reloc;
|
||||||
|
};
|
||||||
|
|
||||||
&uart2 {
|
&uart2 {
|
||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
};
|
};
|
||||||
|
@ -155,6 +155,17 @@
|
|||||||
cpu0-supply = <&vdd_cpu>;
|
cpu0-supply = <&vdd_cpu>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&emmc {
|
||||||
|
bus-width = <8>;
|
||||||
|
cap-mmc-highspeed;
|
||||||
|
disable-wp;
|
||||||
|
non-removable;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
|
||||||
|
vmmc-supply = <&vcc_io>;
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
&gmac {
|
&gmac {
|
||||||
assigned-clocks = <&cru SCLK_MAC>;
|
assigned-clocks = <&cru SCLK_MAC>;
|
||||||
assigned-clock-parents = <&ext_gmac>;
|
assigned-clock-parents = <&ext_gmac>;
|
||||||
|
@ -9,6 +9,13 @@
|
|||||||
#ifndef CONFIG_TPL_BUILD
|
#ifndef CONFIG_TPL_BUILD
|
||||||
#include <spl.h>
|
#include <spl.h>
|
||||||
|
|
||||||
|
void board_boot_order(u32 *spl_boot_list)
|
||||||
|
{
|
||||||
|
/* eMMC prior to sdcard. */
|
||||||
|
spl_boot_list[0] = BOOT_DEVICE_MMC2;
|
||||||
|
spl_boot_list[1] = BOOT_DEVICE_MMC1;
|
||||||
|
}
|
||||||
|
|
||||||
int spl_start_uboot(void)
|
int spl_start_uboot(void)
|
||||||
{
|
{
|
||||||
/* break into full u-boot on 'c' */
|
/* break into full u-boot on 'c' */
|
||||||
|
Loading…
Reference in New Issue
Block a user