From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Michael Olbrich Date: Thu, 19 Sep 2019 17:21:00 +0200 Message-Id: <20190919152103.23019-3-m.olbrich@pengutronix.de> In-Reply-To: <20190919152103.23019-1-m.olbrich@pengutronix.de> References: <20190919152103.23019-1-m.olbrich@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH 2/5] barebox-mx6: enable i.MX6 On Chip OTP controller List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: distrokit-bounces@pengutronix.de Sender: "DistroKit" To: distrokit@pengutronix.de Cc: Michael Olbrich Barebox needs this to read the MAC addresse of the board. Signed-off-by: Michael Olbrich --- configs/platform-v7a/barebox-mx6.config | 6 +++++- configs/platform-v7a/barebox-mx6.config.diff | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/configs/platform-v7a/barebox-mx6.config b/configs/platform-v7a/barebox-mx6.config index 8ebb9225e506..2b69d0a03e69 100644 --- a/configs/platform-v7a/barebox-mx6.config +++ b/configs/platform-v7a/barebox-mx6.config @@ -813,7 +813,11 @@ CONFIG_PINCTRL_IMX_IOMUX_V3=y # CONFIG_PINCTRL_SINGLE is not set # end of Pin controllers -# CONFIG_NVMEM is not set +CONFIG_NVMEM=y +# CONFIG_NVMEM_SNVS_LPGPR is not set +CONFIG_IMX_OCOTP=y +# CONFIG_IMX_OCOTP_WRITE is not set +# CONFIG_EEPROM_93XX46 is not set # # Bus devices diff --git a/configs/platform-v7a/barebox-mx6.config.diff b/configs/platform-v7a/barebox-mx6.config.diff index 8cf11cc2f3c3..680ea227a491 100644 --- a/configs/platform-v7a/barebox-mx6.config.diff +++ b/configs/platform-v7a/barebox-mx6.config.diff @@ -60,6 +60,7 @@ CONFIG_DRIVER_VIDEO_IMX_IPUV3_LVDS=y # CONFIG_DRIVER_VIDEO_MTL017 is not set CONFIG_DRIVER_VIDEO_SIMPLEFB=y # CONFIG_DRIVER_VIDEO_SIMPLE_PANEL is not set +# CONFIG_EEPROM_93XX46 is not set CONFIG_EEPROM_AT25=y # CONFIG_FRAMEBUFFER_CONSOLE is not set CONFIG_FS_UBIFS=y @@ -77,6 +78,8 @@ CONFIG_IMAGE_SPARSE=y CONFIG_IMX_IIM=y CONFIG_IMX_IIM_FUSE_BLOW=y CONFIG_IMX_MULTI_BOARDS=y +CONFIG_IMX_OCOTP=y +# CONFIG_IMX_OCOTP_WRITE is not set # CONFIG_IMX_WEIM is not set CONFIG_INPUT=y CONFIG_KEYBOARD_GPIO=y @@ -181,6 +184,8 @@ CONFIG_NAND_IMX_BBM=y CONFIG_NAND_INFO=y CONFIG_NAND_MXS=y CONFIG_NAND_READ_OOB=y +CONFIG_NVMEM=y +# CONFIG_NVMEM_SNVS_LPGPR is not set CONFIG_PARTITION_DISK_EFI=y CONFIG_PARTITION_DISK_EFI_GPT_COMPARE=y CONFIG_PARTITION_DISK_EFI_GPT_NO_FORCE=y -- 2.20.1 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de