aboutsummaryrefslogtreecommitdiff
path: root/board/sipeed
diff options
context:
space:
mode:
authorDamien Le Moal2022-03-01 10:35:39 +0000
committerLeo Yu-Chi Liang2022-03-15 17:43:11 +0800
commitfd426b31066ba61ee1ff96a2b56c919251ffdd9e (patch)
tree12cca16af2089ff5c0f2666216307aefa442ef75 /board/sipeed
parentc149bf41404e34014e37de32fac332892b11bd4a (diff)
k210: use the board vendor name rather than the marketing name
"kendryte" is the marketing name for the K210 RISC-V SoC produced by Canaan Inc. Rather than "kendryte,k210", use the usual "canaan,k210" vendor,SoC compatibility string format in the device tree files and use the SoC name for file names. With these changes, the device tree files are more in sync with the Linux kernel DTS and drivers, making uboot device tree usable by the kernel. Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com> Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
Diffstat (limited to 'board/sipeed')
-rw-r--r--board/sipeed/maix/maix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/sipeed/maix/maix.c b/board/sipeed/maix/maix.c
index 52e4fee2f0a..a218278cb34 100644
--- a/board/sipeed/maix/maix.c
+++ b/board/sipeed/maix/maix.c
@@ -22,7 +22,7 @@ static int sram_init(void)
struct clk clk;
/* Enable RAM clocks */
- memory = ofnode_by_compatible(ofnode_null(), "kendryte,k210-sram");
+ memory = ofnode_by_compatible(ofnode_null(), "canaan,k210-sram");
if (ofnode_equal(memory, ofnode_null()))
return -ENOENT;