mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 05:43:21 +09:00
![Bin Meng](/assets/img/avatar_default.png)
At present SiFive Unleashed board uses the Makefile to create the FIT, using USE_SPL_FIT_GENERATOR, which is deprecated as per the Makefile warning. Update to use binman instead. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
59 lines
691 B
Plaintext
59 lines
691 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
|
/*
|
|
* Copyright (C) 2019 Jagan Teki <jagan@amarulasolutions.com>
|
|
*/
|
|
|
|
#include "binman.dtsi"
|
|
#include "fu540-c000-u-boot.dtsi"
|
|
#include "fu540-hifive-unleashed-a00-ddr.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
cpu1 = &cpu1;
|
|
cpu2 = &cpu2;
|
|
cpu3 = &cpu3;
|
|
cpu4 = &cpu4;
|
|
spi0 = &qspi0;
|
|
spi2 = &qspi2;
|
|
};
|
|
|
|
config {
|
|
u-boot,spl-payload-offset = <0x105000>; /* loader2 @1044KB */
|
|
};
|
|
|
|
memory@80000000 {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
hfclk {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
rtcclk {
|
|
u-boot,dm-spl;
|
|
};
|
|
|
|
};
|
|
|
|
&clint {
|
|
clocks = <&rtcclk>;
|
|
};
|
|
|
|
&qspi0 {
|
|
u-boot,dm-spl;
|
|
|
|
flash@0 {
|
|
u-boot,dm-spl;
|
|
};
|
|
};
|
|
|
|
&qspi2 {
|
|
mmc@0 {
|
|
u-boot,dm-spl;
|
|
};
|
|
};
|
|
|
|
&gpio {
|
|
u-boot,dm-spl;
|
|
};
|