mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-17 00:33:06 +00:00
e0c0efff2a
Add the required binman images to replace the Makefile rules which are currently used. This includes subsuming: - tpl/u-boot-tpl-rockchip.bin if TPL is enabled - idbloader.img if either or both of SPL and TPL are enabled - u-boot.itb if SPL_FIT is enabled - u-boot-rockchip.bin if SPL is used, either using u-boot.itb when SPL_FIT is enabled or u-boot.img when it isn't Note that the intermediate files are dropped with binman, since it producing everything in one pass. This means that tpl/u-boot-tpl-rockchip.bin is not created, for example. Note that for some 32-bit rk3288 boards, rockchip-optee.dtsi is included. Signed-off-by: Simon Glass <sjg@chromium.org>
91 lines
1.3 KiB
Text
91 lines
1.3 KiB
Text
// SPDX-License-Identifier: GPL-2.0+
|
|
|
|
#include "px30-u-boot.dtsi"
|
|
|
|
/ {
|
|
config {
|
|
u-boot,mmc-env-offset = <0x5000>; /* @ 20KB */
|
|
u-boot,efi-partition-entries-offset = <0x200000>; /* 2MB */
|
|
u-boot,boot-led = "module_led";
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "serial0:115200n8";
|
|
u-boot,spl-boot-order = "same-as-spl", &emmc, &sdmmc;
|
|
};
|
|
};
|
|
|
|
&binman {
|
|
simple-bin {
|
|
fit {
|
|
offset = <((CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR - 64) * 512)>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&emmc_clk {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&emmc_cmd {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&emmc_bus8 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&gpio0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&gpio1 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&gpio2 {
|
|
u-boot,dm-pre-reloc;
|
|
|
|
/*
|
|
* The Qseven BIOS_DISABLE signal on the PX30-µQ7 keeps the on-module
|
|
* eMMC powered-down initially (in fact it keeps the reset signal
|
|
* asserted). BIOS_DISABLE_OVERRIDE pin allows to re-enable eMMC after
|
|
* the SPL has been booted from SD Card.
|
|
*/
|
|
bios-disable-override-hog {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
};
|
|
|
|
&pinctrl {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&pcfg_pull_none_8ma {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&pcfg_pull_up_8ma {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&sdmmc_bus4 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&sdmmc_clk {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&sdmmc_cmd {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&sdmmc_det {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&uart0 {
|
|
clock-frequency = <24000000>;
|
|
u-boot,dm-pre-reloc;
|
|
};
|