#include "../../../../../include/generated/autoconf.h"
#include <dt-bindings/soc/samsung/debug-snapshot-table.h>
+#include <dt-bindings/soc/samsung/exynos9610-seclog.h>
/memreserve/ 0xE0000000 0x1900000;
/ {
seclog_mem {
compatible = "exynos,seclog";
- reg = <0x0 0xC0000000 0x80000>;
+ reg = <0x0 SECLOG_LOG_BUF_BASE SECLOG_LOG_BUF_TOTAL_SIZE>;
};
abox_rmem: abox_rmem@0xE9400000 {
--- /dev/null
+/*
+ * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * Device Tree binding constants for Exynos Secure Log
+ */
+
+#ifndef _EXYNOS_SECLOG_TABLE_H
+#define _EXYNOS_SECLOG_TABLE_H
+
+/*
+ * NOTE
+ *
+ * SECLOG_NUM_OF_CPU would be changed
+ * at each SoC
+ */
+#define SECLOG_NUM_OF_CPU (8)
+
+/* Secure log buffer information */
+#define SECLOG_LOG_BUF_BASE (0xC0000000)
+#define SECLOG_LOG_BUF_SIZE (0x10000)
+#define SECLOG_LOG_BUF_TOTAL_SIZE (SECLOG_LOG_BUF_SIZE * SECLOG_NUM_OF_CPU)
+
+#endif /* _EXYNOS_SECLOG_TABLE_H */