diff mbox series

thermal: sandbox: Enable thermal uclass for sandbox64 variant

Message ID 20221018084725.406464-1-sughosh.ganu@linaro.org
State New
Headers show
Series thermal: sandbox: Enable thermal uclass for sandbox64 variant | expand

Commit Message

Sughosh Ganu Oct. 18, 2022, 8:47 a.m. UTC
The sandbox64 variant is currently building the sandbox thermal driver
but not the corresponding uclass driver. This results in the sandbox64
variant not booting with the test device tree. Enable building the
thermal uclass for the sandbox64 variant as well.

Also enable the temperature command to allow the test to be run on the
sandbox64 variant.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
---
 configs/sandbox64_defconfig | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Simon Glass Oct. 18, 2022, 4:59 p.m. UTC | #1
On Tue, 18 Oct 2022 at 02:47, Sughosh Ganu <sughosh.ganu@linaro.org> wrote:
>
> The sandbox64 variant is currently building the sandbox thermal driver
> but not the corresponding uclass driver. This results in the sandbox64
> variant not booting with the test device tree. Enable building the
> thermal uclass for the sandbox64 variant as well.
>
> Also enable the temperature command to allow the test to be run on the
> sandbox64 variant.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
> ---
>  configs/sandbox64_defconfig | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>

Reviewed-by: Simon Glass <sjg@chromium.org>
Simon Glass Oct. 22, 2022, 1:05 a.m. UTC | #2
On Tue, 18 Oct 2022 at 02:47, Sughosh Ganu <sughosh.ganu@linaro.org> wrote:
>
> The sandbox64 variant is currently building the sandbox thermal driver
> but not the corresponding uclass driver. This results in the sandbox64
> variant not booting with the test device tree. Enable building the
> thermal uclass for the sandbox64 variant as well.
>
> Also enable the temperature command to allow the test to be run on the
> sandbox64 variant.
>
> Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
> ---
>  configs/sandbox64_defconfig | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>

Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot-dm, thanks!
diff mbox series

Patch

diff --git a/configs/sandbox64_defconfig b/configs/sandbox64_defconfig
index ade1505439..2badf1c386 100644
--- a/configs/sandbox64_defconfig
+++ b/configs/sandbox64_defconfig
@@ -22,12 +22,12 @@  CONFIG_CONSOLE_RECORD=y
 CONFIG_CONSOLE_RECORD_OUT_SIZE=0x1000
 CONFIG_PRE_CONSOLE_BUFFER=y
 CONFIG_DISPLAY_BOARDINFO_LATE=y
-CONFIG_CMD_CAT=y
 CONFIG_CMD_CPU=y
 CONFIG_CMD_LICENSE=y
 CONFIG_CMD_BOOTZ=y
 CONFIG_CMD_BOOTEFI_HELLO=y
 # CONFIG_CMD_ELF is not set
+CONFIG_CMD_XXD=y
 CONFIG_CMD_ASKENV=y
 CONFIG_CMD_GREPENV=y
 CONFIG_CMD_ERASEENV=y
@@ -54,8 +54,9 @@  CONFIG_CMD_PCI=y
 CONFIG_CMD_READ=y
 CONFIG_CMD_REMOTEPROC=y
 CONFIG_CMD_SPI=y
+CONFIG_CMD_TEMPERATURE=y
 CONFIG_CMD_USB=y
-CONFIG_CMD_XXD=y
+CONFIG_CMD_CAT=y
 CONFIG_BOOTP_DNS2=y
 CONFIG_CMD_TFTPPUT=y
 CONFIG_CMD_TFTPSRV=y
@@ -219,6 +220,7 @@  CONFIG_SYSINFO=y
 CONFIG_SYSINFO_SANDBOX=y
 CONFIG_SYSINFO_GPIO=y
 CONFIG_SYSRESET=y
+CONFIG_DM_THERMAL=y
 CONFIG_TIMER=y
 CONFIG_TIMER_EARLY=y
 CONFIG_SANDBOX_TIMER=y