All of lore.kernel.org
 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>, 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>,
	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>,
	Christopher Obbard <chris.obbard@collabora.com>,
	Jagan Teki <jagan@amarulasolutions.com>,
	Banglang Huang <banglang.huang@foxmail.com>,
	"Matwey V. Kornilov" <matwey.kornilov@gmail.com>,
	Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Subject: [PATCH 1/4] rockchip: rk3328: Read cpuid and generate MAC address from efuse
Date: Sat, 10 Feb 2024 14:32:47 +0800	[thread overview]
Message-ID: <20240210063252.1065611-2-wens@kernel.org> (raw)
In-Reply-To: <20240210063252.1065611-1-wens@kernel.org>

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

The rockchip-efuse driver supports the efuse found on RK3328. 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 RK3328.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
 arch/arm/mach-rockchip/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index 1bc7ee904275..20670fb57376 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -189,6 +189,8 @@ config ROCKCHIP_RK3328
 	select ENABLE_ARM_SOC_BOOT0_HOOK
 	select DEBUG_UART_BOARD_INIT
 	select SYS_NS16550
+	imply ROCKCHIP_EFUSE
+	imply MISC_INIT_R
 	help
 	  The Rockchip RK3328 is a ARM-based SoC with a quad-core Cortex-A53.
 	  including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
-- 
2.39.2


  reply	other threads:[~2024-02-10  6:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-10  6:32 [PATCH 0/4] rockchip: Read cpuid and generate MAC address from efuse for RK3328 and RK3399 Chen-Yu Tsai
2024-02-10  6:32 ` Chen-Yu Tsai [this message]
2024-02-10  6:32 ` [PATCH 2/4] rockchip: rk3399: Read cpuid and generate MAC address from efuse Chen-Yu Tsai
2024-02-10  6:32 ` [PATCH 3/4] rockchip: rk3328: regenerate defconfigs Chen-Yu Tsai
2024-02-10  6:32 ` [PATCH 4/4] rockchip: rk3399: " Chen-Yu Tsai
2024-02-10 19:18   ` Jonas Karlman
2024-02-11  1:18     ` Chen-Yu Tsai
2024-02-12  9:38   ` Quentin Schulz
2024-02-10  9:06 ` [PATCH 0/4] rockchip: Read cpuid and generate MAC address from efuse for RK3328 and RK3399 Christopher Obbard
2024-02-10 16:37 ` Dragan Simic
2024-02-12 13:57 ` Peter Robinson
2024-02-12 14:05   ` Chen-Yu Tsai

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=20240210063252.1065611-2-wens@kernel.org \
    --to=wens@kernel.org \
    --cc=alpernebiyasak@gmail.com \
    --cc=banglang.huang@foxmail.com \
    --cc=chris.obbard@collabora.com \
    --cc=cnsztl@gmail.com \
    --cc=djw@t-chip.com.cn \
    --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=mail@david-bauer.net \
    --cc=manivannan.sadhasivam@linaro.org \
    --cc=matwey.kornilov@gmail.com \
    --cc=naoki@radxa.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.