public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Chen-Yu Tsai <wens@kernel.org>
To: u-boot@lists.denx.de
Cc: Chen-Yu Tsai <wens@csie.org>,
	Christopher Obbard <chris.obbard@collabora.com>,
	Dragan Simic <dsimic@manjaro.org>, Tom Rini <trini@konsulko.com>,
	Simon Glass <sjg@chromium.org>,
	Philipp Tomsich <philipp.tomsich@vrull.eu>,
	Kever Yang <kever.yang@rock-chips.com>,
	Alper Nebi Yasak <alpernebiyasak@gmail.com>,
	Andy Yan <andy.yan@rock-chips.com>, Nick Xie <nick@khadas.com>,
	Jagan Teki <jagan@amarulasolutions.com>,
	Deepak Das <deepakdas.linux@gmail.com>,
	Alexandre Vicenzi <linux@alxd.me>,
	Tianling Shen <cnsztl@gmail.com>,
	David Bauer <mail@david-bauer.net>,
	Xiaobo Tian <peterwillcn@gmail.com>,
	Peter Robinson <pbrobinson@gmail.com>,
	Quentin Schulz <quentin.schulz@theobroma-systems.com>,
	Klaus Goger <klaus.goger@theobroma-systems.com>,
	Loic Devulder <ldevulder@suse.com>,
	Jonas Karlman <jonas@kwiboo.se>, Levin Du <djw@t-chip.com.cn>,
	Suniel Mahesh <sunil@amarulasolutions.com>,
	FUKAUMI Naoki <naoki@radxa.com>,
	Banglang Huang <banglang.huang@foxmail.com>,
	"Matwey V. Kornilov" <matwey.kornilov@gmail.com>,
	Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: [PATCH v2 2/5] rockchip: rk3399: Read cpuid and generate MAC address from efuse
Date: Mon, 12 Feb 2024 21:51:05 +0800	[thread overview]
Message-ID: <20240212135111.1767734-3-wens@kernel.org> (raw)
In-Reply-To: <20240212135111.1767734-1-wens@kernel.org>

From: Chen-Yu Tsai <wens@csie.org>

The rockchip-efuse driver supports the efuse found on RK3399. This
hardware block is part of the SoC and contains the CPUID, which can
be used to generate stable serial numbers and MAC addresses.

Enable the driver and reading cpuid by default for RK3399.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Christopher Obbard <chris.obbard@collabora.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
---
 arch/arm/mach-rockchip/Kconfig | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index 0553967b947f..2c6b045c51c8 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -270,6 +270,9 @@ config ROCKCHIP_RK3399
 	imply SYS_BOOTCOUNT_SINGLEWORD if BOOTCOUNT_LIMIT
 	imply BOOTSTD_FULL
 	imply CMD_BOOTCOUNT if BOOTCOUNT_LIMIT
+	imply MISC
+	imply ROCKCHIP_EFUSE
+	imply MISC_INIT_R
 	help
 	  The Rockchip RK3399 is a ARM-based SoC with a dual-core Cortex-A72
 	  and quad-core Cortex-A53.
-- 
2.39.2


  parent reply	other threads:[~2024-02-12 13:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-12 13:51 [PATCH v2 0/5] rockchip: Read cpuid and generate MAC address from efuse for RK3328 and RK3399 Chen-Yu Tsai
2024-02-12 13:51 ` [PATCH v2 1/5] rockchip: rk3328: Read cpuid and generate MAC address from efuse Chen-Yu Tsai
2024-02-12 13:51 ` Chen-Yu Tsai [this message]
2024-02-12 13:51 ` [PATCH v2 3/5] rockchip: rk3328: regenerate defconfigs Chen-Yu Tsai
2024-03-13 10:27   ` Kever Yang
2024-03-13 14:43     ` Chen-Yu Tsai
2024-03-13 15:32       ` Jonas Karlman
2024-03-14  6:46         ` Kever Yang
2024-02-12 13:51 ` [PATCH v2 4/5] rockchip: rk3399: " Chen-Yu Tsai
2024-02-12 13:51 ` [PATCH v2 5/5] rockchip: nanopi-r4s: Drop ROCKCHIP_OTP Chen-Yu Tsai
2024-02-12 13:59   ` Dragan Simic

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=20240212135111.1767734-3-wens@kernel.org \
    --to=wens@kernel.org \
    --cc=alpernebiyasak@gmail.com \
    --cc=andy.yan@rock-chips.com \
    --cc=banglang.huang@foxmail.com \
    --cc=chris.obbard@collabora.com \
    --cc=cnsztl@gmail.com \
    --cc=deepakdas.linux@gmail.com \
    --cc=djw@t-chip.com.cn \
    --cc=dsimic@manjaro.org \
    --cc=jagan@amarulasolutions.com \
    --cc=jonas@kwiboo.se \
    --cc=kever.yang@rock-chips.com \
    --cc=klaus.goger@theobroma-systems.com \
    --cc=ldevulder@suse.com \
    --cc=linux@alxd.me \
    --cc=mail@david-bauer.net \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=matwey.kornilov@gmail.com \
    --cc=naoki@radxa.com \
    --cc=nick@khadas.com \
    --cc=pbrobinson@gmail.com \
    --cc=peterwillcn@gmail.com \
    --cc=philipp.tomsich@vrull.eu \
    --cc=quentin.schulz@theobroma-systems.com \
    --cc=sjg@chromium.org \
    --cc=sunil@amarulasolutions.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=wens@csie.org \
    /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