summaryrefslogtreecommitdiff
path: root/include/configs/puma_rk3399.h
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>2017-05-05 17:21:39 (GMT)
committerSimon Glass <sjg@chromium.org>2017-06-07 13:29:18 (GMT)
commit9415b9a7d85c6c77698a551c47765720c2caef91 (patch)
treef608112d20de98e360fed76ccbb8ab7f77e61301 /include/configs/puma_rk3399.h
parent49cd8e85eb70b5af4a27c7e006fbdd46d5796b2c (diff)
downloadu-boot-9415b9a7d85c6c77698a551c47765720c2caef91.tar.xz
rockchip: board: puma_rk3399: add support for serial# and cpuid# via efuses
With our efuse driver for the RK3399 ready, we can add the board-specific code that consumes the cpuid from the efuse block and postprocesses it into the system serial (using the same CRC32 based derivation as in Linux). We expose the cpuid via two distinct environment variables: serial# - the serial number, as derived in Linux cpuid# - the raw 16 byte CPU id field from the fuse block Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs/puma_rk3399.h')
-rw-r--r--include/configs/puma_rk3399.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/puma_rk3399.h b/include/configs/puma_rk3399.h
index f778744..ece8bba 100644
--- a/include/configs/puma_rk3399.h
+++ b/include/configs/puma_rk3399.h
@@ -22,4 +22,8 @@
#define SDRAM_BANK_SIZE (2UL << 30)
+#define CONFIG_MISC_INIT_R
+#define CONFIG_SERIAL_TAG
+#define CONFIG_ENV_OVERWRITE
+
#endif