blob: 28a4964887051280e4ae714f797e6f723ec75eb1 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001/*
2 * ZTE ddr driver
3 *
4 * Copyright (C) 2013 ZTE Ltd.
5 * by tsp
6 *
7 */
8#ifdef CONFIG_ZX29_WDT_TEST_MODULE
9
10#include <linux/module.h>
11#include <linux/kernel.h>
12#include <linux/init.h>
13#include <linux/spinlock.h>
14#include <linux/interrupt.h>
15#include <linux/types.h>
16#include <linux/sched.h>
17#include <linux/io.h>
18#include <mach/iomap.h>
19#include <linux/slab.h>
20#include <linux/syscalls.h>
21#include <asm/uaccess.h>
22#include <linux/zx_soft_wdt.h>
23#include <linux/miscdevice.h> /* For handling misc devices */
24#include <linux/soc/zte/rpm/rpmsg.h> /* For icp operation*/
25
26extern void zx_wdt_test(u32 core_id);
27
28static void __init zx_pswdttest_init(void)
29{
30 //ps wdt test
31 zx_wdt_test(2);
32
33}
34
35static void __exit zx_pswdttest_exit(void)
36{
37 //misc_deregister(&zx_ddr_miscdev);
38}
39
40
41module_init(zx_pswdttest_init);
42module_exit(zx_pswdttest_exit);
43#endif