diff mbox series

[05/13] arm: puma_rk3399: Disable ATAGs support

Message ID 20210204022415.20589-5-trini@konsulko.com
State Superseded
Delegated to: Tom Rini
Headers show
Series [01/13] arm: nanopi2: Remove unused code | expand

Commit Message

Tom Rini Feb. 4, 2021, 2:24 a.m. UTC
This platform never supported an ATAGs-based Linux kernel, so remove.

Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Cc: Klaus Goger <klaus.goger@theobroma-systems.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
---
I'm assuming, please correct me if I'm wrong.
---
 .../theobroma-systems/puma_rk3399/puma-rk3399.c  | 16 ----------------
 include/configs/puma_rk3399.h                    |  2 --
 2 files changed, 18 deletions(-)
diff mbox series

Patch

diff --git a/board/theobroma-systems/puma_rk3399/puma-rk3399.c b/board/theobroma-systems/puma_rk3399/puma-rk3399.c
index deeba3084a80..3237a6aa2e1e 100644
--- a/board/theobroma-systems/puma_rk3399/puma-rk3399.c
+++ b/board/theobroma-systems/puma_rk3399/puma-rk3399.c
@@ -136,19 +136,3 @@  int misc_init_r(void)
 
 	return 0;
 }
-
-#ifdef CONFIG_SERIAL_TAG
-void get_board_serial(struct tag_serialnr *serialnr)
-{
-	char *serial_string;
-	u64 serial = 0;
-
-	serial_string = env_get("serial#");
-
-	if (serial_string)
-		serial = simple_strtoull(serial_string, NULL, 16);
-
-	serialnr->high = (u32)(serial >> 32);
-	serialnr->low = (u32)(serial & 0xffffffff);
-}
-#endif
diff --git a/include/configs/puma_rk3399.h b/include/configs/puma_rk3399.h
index f52ea014b5d6..23de326e7208 100644
--- a/include/configs/puma_rk3399.h
+++ b/include/configs/puma_rk3399.h
@@ -10,6 +10,4 @@ 
 
 #define SDRAM_BANK_SIZE			(2UL << 30)
 
-#define CONFIG_SERIAL_TAG
-
 #endif