hc
2023-11-06 9df731a176aab8e03b984b681b1bea01ccff6644
u-boot/drivers/cpu/amp.its
....@@ -1,20 +1,22 @@
11 /*
22 * Copyright (C) 2021 Fuzhou Rockchip Electronics Co., Ltd
3
+ *
34 * SPDX-License-Identifier: GPL-2.0
45 */
56
67 /dts-v1/;
78 / {
8
- description = "FIT source file for rockchip AMP";
9
+ description = "Rockchip AMP FIT Image";
910 #address-cells = <1>;
1011
1112 images {
13
+ /* ARM cortex-A core */
1214 amp1 {
1315 description = "bare-mental-core1";
1416 data = /incbin/("./amp1.bin");
15
- type = "firmware";
17
+ type = "firmware"; // must be "firmware"
1618 compression = "none";
17
- arch = "arm"; // "arm64" or "arm"
19
+ arch = "arm"; // "arm64" or "arm", the same as U-Boot state
1820 cpu = <0x100>; // mpidr
1921 thumb = <0>; // 0: arm or thumb2; 1: thumb
2022 hyp = <0>; // 0: el1/svc; 1: el2/hyp
....@@ -56,6 +58,20 @@
5658 algo = "sha256";
5759 };
5860 };
61
+
62
+ /* Other core */
63
+ amp4 {
64
+ description = "standalone-mcu1";
65
+ data = /incbin/("./mcu1.bin");
66
+ type = "standalone"; // must be "standalone"
67
+ compression = "none";
68
+ arch = "arm"; // "arm64" or "arm", the same as U-Boot state
69
+ load = <0x06800000>;
70
+ udelay = <1000000>;
71
+ hash {
72
+ algo = "sha256";
73
+ };
74
+ };
5975 };
6076
6177 configurations {
....@@ -63,7 +79,7 @@
6379 conf {
6480 description = "Rockchip AMP images";
6581 rollback-index = <0x0>;
66
- loadables = "amp1", "amp2", "amp3";
82
+ loadables = "amp1", "amp2", "amp3", "amp4";
6783
6884 signature {
6985 algo = "sha256,rsa2048";