mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-29 08:01:08 +00:00
d8fa0a7668
Currently Makefile produces final mpc85xx image when SPL is not used in custom file u-boot-with-dtb.bin. It is quite confusing name as build process produce also intermediate file standard file u-boot-dtb.bin (which is just intermediate and not bootable). Other platforms use u-boot.bin (UBOOT_BIN) as standard name for final bootable raw image. So change Makefile rules and binman to produce final bootable file for mpc85xx also into file u-boot.bin. There is just need for mpc85xx to not define default rule for u-boot.bin then instruct binman (via DTS file) to store final image into u-boot.bin (instead of u-boot-with-dtb.bin) and finally rename target u-boot-with-dtb.bin to u-boot.bin. With this change are also removed custom Makefile hacks for mpc85xx that it produced non-standard output file. And also updated documentation. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Marek Behún <kabel@kernel.org>
97 lines
1.7 KiB
Text
97 lines
1.7 KiB
Text
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* (C) Copyright 2021 Niel Fourie <lusus@denx.de>
|
|
*/
|
|
|
|
#include <config.h>
|
|
|
|
/ {
|
|
|
|
aliases {
|
|
spi0 = "/soc@ffe000000/spi@110000";
|
|
i2c0 = "/soc@ffe000000/i2c@118000";
|
|
i2c1 = "/soc@ffe000000/i2c@118000/mux@70/i2c@0";
|
|
i2c2 = "/soc@ffe000000/i2c@118000/mux@70/i2c@1";
|
|
i2c3 = "/soc@ffe000000/i2c@118000/mux@70/i2c@7";
|
|
i2c4 = "/soc@ffe000000/i2c@118100";
|
|
/delete-property/ pci1;
|
|
/delete-property/ pci2;
|
|
/delete-property/ pci3;
|
|
};
|
|
|
|
chosen {
|
|
stdout-path = "/soc@ffe000000/serial@11c500";
|
|
};
|
|
|
|
soc@ffe000000 {
|
|
u-boot,dm-pre-reloc;
|
|
spi@110000 {
|
|
/* This documents where km_fpgacfg should be appear */
|
|
fpga@0 {
|
|
compatible = "keymile,fpga-conf";
|
|
reg = <0>;
|
|
spi-max-frequency = <25000000>;
|
|
};
|
|
};
|
|
|
|
sdhc@114000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@118000 {
|
|
u-boot,dm-pre-reloc;
|
|
mux@70 {
|
|
i2c@1 { /* IVM bus */
|
|
reg = <1>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
};
|
|
};
|
|
};
|
|
|
|
serial@11c500 {
|
|
u-boot,dm-pre-reloc;
|
|
clock-frequency = <200000000>;
|
|
};
|
|
|
|
fman@400000 {
|
|
ethernet@e0000 {
|
|
phy-connection-type = "sgmii";
|
|
};
|
|
|
|
ethernet@e2000 {
|
|
phy-connection-type = "sgmii";
|
|
};
|
|
|
|
ethernet@e8000 {
|
|
phy-connection-type = "rgmii-id";
|
|
};
|
|
};
|
|
|
|
};
|
|
|
|
pcie@ffe240000 {
|
|
compatible = "fsl,pcie-t104x";
|
|
law_trgt_if = <0>;
|
|
};
|
|
|
|
binman {
|
|
filename = "u-boot.bin";
|
|
skip-at-start = <CONFIG_SYS_TEXT_BASE>;
|
|
sort-by-offset;
|
|
pad-byte = <0xff>;
|
|
size = <CONFIG_SYS_MONITOR_LEN>;
|
|
|
|
u-boot-with-ucode-ptr {
|
|
offset = <CONFIG_SYS_TEXT_BASE>;
|
|
optional-ucode;
|
|
};
|
|
|
|
u-boot-dtb-with-ucode {
|
|
align = <256>;
|
|
};
|
|
powerpc-mpc85xx-bootpg-resetvec {
|
|
offset = <(CONFIG_RESET_VECTOR_ADDRESS - 0xffc)>;
|
|
};
|
|
};
|
|
};
|