blob: 51ff5ff850603510257dbb7f11b8786b9181b108 [file] [log] [blame]
yuezonghe824eb0c2024-06-27 02:32:26 -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_phywdttest_init(void)
29{
30 //phy wdt test
31 zx_wdt_test(1);
32
33}
34
35static void __exit zx_phywdttest_exit(void)
36{
37 //misc_deregister(&zx_ddr_miscdev);
38}
39
40
41module_init(zx_phywdttest_init);
42module_exit(zx_phywdttest_exit);
43#endif