File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ #
2+ # Copyright (c) 2025 MASSDRIVER EI <massdriver.space>
3+ #
4+ # SPDX-License-Identifier: Apache-2.0
5+ #
6+
7+ description : |
8+ Bouffalo Lab L1C cache control.
9+
10+ The node should be added in the soc group and be provided disabled ways
11+
12+ soc {
13+
14+ ...
15+
16+ cache {
17+ compatible = "bflb,l1c";
18+ dcache-ways-disabled = <0>;
19+ };
20+
21+ ...
22+
23+ };
24+
25+ The cache configuration is specific to the platform, this only provides controls for it.
26+
27+ compatible : " bflb,l1c"
28+
29+ include : base.yaml
30+
31+ properties :
32+ dcache-ways-disabled :
33+ type : int
34+ required : true
35+ description : How many data cache lines are disabled and used as instruction cache lines.
36+ enum :
37+ - 0
38+ - 1
39+ - 2
40+ - 3
41+ - 4
You can’t perform that action at this time.
0 commit comments