From 83ab79c51ec031525244c50114a3a78df99bb781 Mon Sep 17 00:00:00 2001 From: CTCaer Date: Mon, 4 Jan 2021 02:41:55 +0200 Subject: [PATCH] fuse: Return the proper dram id when raw is requested --- bdk/soc/fuse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bdk/soc/fuse.c b/bdk/soc/fuse.c index 780af8e..0a37a4b 100644 --- a/bdk/soc/fuse.c +++ b/bdk/soc/fuse.c @@ -81,7 +81,7 @@ u32 fuse_read_dramid(bool raw_id) u32 dramid = (fuse_read_odm(4) & 0xF8) >> 3; if (raw_id) - return raw_id; + return dramid; if (hw_get_chip_id() == GP_HIDREV_MAJOR_T210) {