rockchip: miniarm: remove eMMC support
The latest rk3288-miniarm board doesn't have eMMC device, so remove it. Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
f2358ece1d
commit
c12777a625
|
@ -116,18 +116,6 @@
|
||||||
cpu0-supply = <&vdd_cpu>;
|
cpu0-supply = <&vdd_cpu>;
|
||||||
};
|
};
|
||||||
|
|
||||||
&emmc {
|
|
||||||
broken-cd;
|
|
||||||
bus-width = <8>;
|
|
||||||
cap-mmc-highspeed;
|
|
||||||
disable-wp;
|
|
||||||
non-removable;
|
|
||||||
num-slots = <1>;
|
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_pwr &emmc_bus8>;
|
|
||||||
status = "okay";
|
|
||||||
};
|
|
||||||
|
|
||||||
&sdmmc {
|
&sdmmc {
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cap-mmc-highspeed;
|
cap-mmc-highspeed;
|
||||||
|
|
|
@ -5,11 +5,3 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.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;
|
|
||||||
}
|
|
||||||
|
|
|
@ -10,8 +10,13 @@
|
||||||
#define ROCKCHIP_DEVICE_SETTINGS
|
#define ROCKCHIP_DEVICE_SETTINGS
|
||||||
#include <configs/rk3288_common.h>
|
#include <configs/rk3288_common.h>
|
||||||
|
|
||||||
|
#undef BOOT_TARGET_DEVICES
|
||||||
|
|
||||||
|
#define BOOT_TARGET_DEVICES(func) \
|
||||||
|
func(MMC, mmc, 0)
|
||||||
|
|
||||||
#define CONFIG_ENV_IS_IN_MMC
|
#define CONFIG_ENV_IS_IN_MMC
|
||||||
#define CONFIG_SYS_MMC_ENV_DEV 1
|
#define CONFIG_SYS_MMC_ENV_DEV 0
|
||||||
/* SPL @ 32k for ~36k
|
/* SPL @ 32k for ~36k
|
||||||
* ENV @ 96k
|
* ENV @ 96k
|
||||||
* u-boot @ 128K
|
* u-boot @ 128K
|
||||||
|
|
Loading…
Reference in New Issue