mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
5c78a922a7
PD#SWPL-108700 Problem: kernel 5.15 cannot support ramdump. Solution: support it. Verify: sc2_ah212 Change-Id: I9eb56b006ac68ba1350a3183a9617f01e6749e62 Signed-off-by: dongqing.li <dongqing.li@amlogic.com>
17 lines
335 B
C
17 lines
335 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __RAMDUMP_H__
|
|
#define __RAMDUMP_H__
|
|
|
|
#define SET_REBOOT_REASON 0x82000049
|
|
|
|
#define AMLOGIC_KERNEL_BOOTED 0x8000
|
|
#define RAMDUMP_STICKY_DATA_MASK 0xFFFF
|
|
|
|
void ramdump_sync_data(void);
|
|
|
|
#endif /* __RAMDUMP_H__ */
|