soc: esp32c3: fix cpu vendor name
Build shows warning due to incompatible CPU vendor name. This fixes it and applies necessary changes in files. Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
This commit is contained in:
parent
16f9674049
commit
eec068b8a5
|
@ -21,7 +21,7 @@
|
|||
#include <dt-bindings/clock/esp32s2_clock.h>
|
||||
#include "esp32s2/rom/rtc.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32C3
|
||||
#define DT_CPU_COMPAT esp_riscv
|
||||
#define DT_CPU_COMPAT espressif_riscv
|
||||
#include <dt-bindings/clock/esp32c3_clock.h>
|
||||
#include "esp32c3/rom/rtc.h"
|
||||
#include <soc/soc_caps.h>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
description: Espressif RISC-V CPU
|
||||
|
||||
compatible: "esp,riscv"
|
||||
compatible: "espressif,riscv"
|
||||
|
||||
include: cpu.yaml
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
cpu0: cpu@0 {
|
||||
device_type = "cpu";
|
||||
compatible = "esp,riscv";
|
||||
compatible = "espressif,riscv";
|
||||
reg = <0>;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue