blob: a44d1414ac2268b502e897bec3e7332d83532e42 [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_capwdttest_init(void)
29{
30 //int err=0;
31 //T_ZDrvRpMsg_Msg test_Msg={0};
32 //u32 test_buf = 0x74736574; /*ASCII:"test"*/
33 //cap wdt test
34 zx_wdt_test(3);
35
36}
37
38static void __exit zx_capwdttest_exit(void)
39{
40 //misc_deregister(&zx_ddr_miscdev);
41}
42
43
44module_init(zx_capwdttest_init);
45module_exit(zx_capwdttest_exit);
46#endif