DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Michael Olbrich <m.olbrich@pengutronix.de>
Subject: [DistroKit] [PATCH 2/5] barebox-mx6: enable i.MX6 On Chip OTP controller
Date: Thu, 19 Sep 2019 17:21:00 +0200	[thread overview]
Message-ID: <20190919152103.23019-3-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20190919152103.23019-1-m.olbrich@pengutronix.de>

Barebox needs this to read the MAC addresse of the board.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
---
 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

  parent reply	other threads:[~2019-09-19 15:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-19 15:20 [DistroKit] [PATCH 0/5] Nitrogen6 MAX support and platform cleanup Michael Olbrich
2019-09-19 15:20 ` [DistroKit] [PATCH 1/5] platform-v7a: add support for Nitrogen6 MAX Michael Olbrich
2019-09-19 15:21 ` Michael Olbrich [this message]
2019-09-19 15:21 ` [DistroKit] [PATCH 3/5] platform-v7a: Enable C++ standard library hardening Michael Olbrich
2019-09-19 15:21 ` [DistroKit] [PATCH 4/5] platform-v7a: use -fstack-protector-strong Michael Olbrich
2019-09-19 15:21 ` [DistroKit] [PATCH 5/5] platform-v7a: disable -frecord-gcc-switches Michael Olbrich
2019-09-20  9:08 ` [DistroKit] [PATCH 0/5] Nitrogen6 MAX support and platform cleanup Robert Schwebel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190919152103.23019-3-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox