#include <asm/smp_plat.h>
#include <asm/core_regs.h>
+#ifdef CONFIG_EXYNOS_BCM_DBG
+#include <soc/samsung/exynos-bcm_dbg.h>
+#endif
+
#if defined(CONFIG_SEC_SIPC_MODEM_IF)
#include <soc/samsung/exynos-modem-ctrl.h>
#endif
static void exynos_early_panic(void *val)
{
+ exynos_bcm_dbg_stop(PANIC_HANDLE);
}
static void exynos_prepare_panic_entry(void *val)
#define DSS_LOG_S2D_SIZE (0)
#define DSS_LOG_CACHEDUMP_SIZE (0)
#define DSS_LOG_ETM_SIZE (0)
+#define DSS_LOG_BCM_SIZE (4 * SZ_1M)
#define DSS_LOG_PSTORE_SIZE (2 * SZ_1M)
#define DSS_LOG_KEVENTS_SIZE (8 * SZ_1M)
#define DSS_LOG_S2D_OFFSET (DSS_LOG_SFR_OFFSET + DSS_LOG_SFR_SIZE)
#define DSS_LOG_CACHEDUMP_OFFSET (DSS_LOG_S2D_OFFSET + DSS_LOG_S2D_SIZE)
#define DSS_LOG_ETM_OFFSET (DSS_LOG_CACHEDUMP_OFFSET + DSS_LOG_CACHEDUMP_SIZE)
-#define DSS_LOG_PSTORE_OFFSET (DSS_LOG_ETM_OFFSET + DSS_LOG_ETM_SIZE)
+#define DSS_LOG_BCM_OFFSET (DSS_LOG_ETM_OFFSET + DSS_LOG_ETM_SIZE)
+#define DSS_LOG_PSTORE_OFFSET (DSS_LOG_BCM_OFFSET + DSS_LOG_BCM_SIZE)
#define DSS_LOG_KEVENTS_OFFSET (DSS_LOG_PSTORE_OFFSET + DSS_LOG_PSTORE_SIZE)
#define DSS_HEADER_ADDR (DSS_START_ADDR + DSS_HEADER_OFFSET)
#define DSS_LOG_S2D_ADDR (DSS_START_ADDR + DSS_LOG_S2D_OFFSET)
#define DSS_LOG_CACHEDUMP_ADDR (DSS_START_ADDR + DSS_LOG_CACHEDUMP_OFFSET)
#define DSS_LOG_ETM_ADDR (DSS_START_ADDR + DSS_LOG_ETM_OFFSET)
+#define DSS_LOG_BCM_ADDR (DSS_START_ADDR + DSS_LOG_BCM_OFFSET)
#define DSS_LOG_PSTORE_ADDR (DSS_START_ADDR + DSS_LOG_PSTORE_OFFSET)
#define DSS_LOG_KEVENTS_ADDR (DSS_START_ADDR + DSS_LOG_KEVENTS_OFFSET)