2021-05-19 19:26:47

by Emmanuel Gil Peyrot

[permalink] [raw]
Subject: [PATCH v2 4/4] powerpc: wii_defconfig: Enable OTP by default

This selects the nintendo-otp module when building for this platform, if
CONFIG_NVMEM is also selected.

Signed-off-by: Emmanuel Gil Peyrot <[email protected]>
---
arch/powerpc/configs/wii_defconfig | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/configs/wii_defconfig b/arch/powerpc/configs/wii_defconfig
index 379c171f3ddd..a0c45bf2bfb1 100644
--- a/arch/powerpc/configs/wii_defconfig
+++ b/arch/powerpc/configs/wii_defconfig
@@ -99,6 +99,7 @@ CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_LEDS_TRIGGER_PANIC=y
CONFIG_RTC_CLASS=y
CONFIG_RTC_DRV_GENERIC=y
+CONFIG_NVMEM_NINTENDO_OTP=y
CONFIG_EXT2_FS=y
CONFIG_EXT4_FS=y
CONFIG_FUSE_FS=m
--
2.31.1



2021-06-26 23:39:12

by Jonathan Neuschäfer

[permalink] [raw]
Subject: Re: [PATCH v2 4/4] powerpc: wii_defconfig: Enable OTP by default

On Wed, May 19, 2021 at 11:50:44AM +0200, Emmanuel Gil Peyrot wrote:
> This selects the nintendo-otp module when building for this platform, if
> CONFIG_NVMEM is also selected.

The 'if' is a bit confusing. CONFIG_NVRAM=y has indeed been in
wii_defconfig since 2009.


Thanks,
Jonathan Neuschäfer


Attachments:
(No filename) (308.00 B)
signature.asc (849.00 B)
Download all attachments