0001
0002
0003 #include <linux/platform_device.h>
0004
0005 #ifndef _SOFTING_DEVICE_H_
0006 #define _SOFTING_DEVICE_H_
0007
0008
0009 #define fw_dir "softing-4.6/"
0010
0011 struct softing_platform_data {
0012 unsigned int manf;
0013 unsigned int prod;
0014
0015
0016
0017
0018
0019
0020
0021 int generation;
0022 int nbus;
0023 unsigned int freq;
0024 unsigned int max_brp;
0025 unsigned int max_sjw;
0026 unsigned long dpram_size;
0027 const char *name;
0028 struct {
0029 unsigned long offs;
0030 unsigned long addr;
0031 const char *fw;
0032 } boot, load, app;
0033
0034
0035
0036
0037 int (*reset)(struct platform_device *pdev, int value);
0038 int (*enable_irq)(struct platform_device *pdev, int value);
0039 };
0040
0041 #endif