From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 3 Feb 2021 21:24:07 -0500 Subject: [PATCH 05/13] arm: puma_rk3399: Disable ATAGs support In-Reply-To: <20210204022415.20589-1-trini@konsulko.com> References: <20210204022415.20589-1-trini@konsulko.com> Message-ID: <20210204022415.20589-5-trini@konsulko.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This platform never supported an ATAGs-based Linux kernel, so remove. Cc: Philipp Tomsich Cc: Klaus Goger Signed-off-by: Tom Rini --- 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 --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 -- 2.17.1