aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/ipc_devices.c
diff options
context:
space:
mode:
authorAlexander Tarasikov <alexander.tarasikov@gmail.com>2012-07-03 20:40:42 +0400
committerPaul Kocialkowski <contact@paulk.fr>2012-07-04 17:53:02 +0200
commit698f40a05bf4b170cf326fd138144378108b3bbf (patch)
treef54b5982dc2390b8edd7f74afd390a07bee54ca5 /samsung-ipc/ipc_devices.c
parent364343a86c168d0211e29720665bc0f58737a09c (diff)
downloadexternal_libsamsung-ipc-698f40a05bf4b170cf326fd138144378108b3bbf.zip
external_libsamsung-ipc-698f40a05bf4b170cf326fd138144378108b3bbf.tar.gz
external_libsamsung-ipc-698f40a05bf4b170cf326fd138144378108b3bbf.tar.bz2
Allow EFS path to be overriden per-board
Diffstat (limited to 'samsung-ipc/ipc_devices.c')
-rw-r--r--samsung-ipc/ipc_devices.c54
1 files changed, 48 insertions, 6 deletions
diff --git a/samsung-ipc/ipc_devices.c b/samsung-ipc/ipc_devices.c
index 60ca767..e1c12aa 100644
--- a/samsung-ipc/ipc_devices.c
+++ b/samsung-ipc/ipc_devices.c
@@ -23,12 +23,54 @@
#include "ipc_devices.h"
struct ipc_device_desc ipc_devices[] = {
- { "galaxys2", "i9100", &xmm6260_default_handlers, &xmm6260_i9100_fmt_ops, &xmm6260_rfs_ops },
- { "galaxys2", "smdk4210", &xmm6260_default_handlers, &xmm6260_i9100_fmt_ops, &xmm6260_rfs_ops },
- { "maguro", "tuna", &xmm6260_default_handlers, &xmm6260_i9250_fmt_ops, &xmm6260_rfs_ops },
- { "crespo", "herring", &crespo_default_handlers, &crespo_fmt_ops, &crespo_rfs_ops },
- { "aries", "aries", &aries_default_handlers, &aries_fmt_ops, &aries_rfs_ops },
- { "aries", "gt-p1000", &aries_default_handlers, &aries_fmt_ops, &aries_rfs_ops }
+ {
+ .name = "galaxys2",
+ .board_name = "i9100",
+ .handlers = &xmm6260_default_handlers,
+ .fmt_ops = &xmm6260_i9100_fmt_ops,
+ .rfs_ops = &xmm6260_rfs_ops,
+ .fs_ops = NULL,
+ },
+ {
+ .name = "galaxys2",
+ .board_name = "smdk4210",
+ .handlers = &xmm6260_default_handlers,
+ .fmt_ops = &xmm6260_i9100_fmt_ops,
+ .rfs_ops = &xmm6260_rfs_ops,
+ .fs_ops = NULL,
+ },
+ {
+ .name = "maguro",
+ .board_name = "tuna",
+ .handlers = &xmm6260_default_handlers,
+ .fmt_ops = &xmm6260_i9250_fmt_ops,
+ .rfs_ops = &xmm6260_rfs_ops,
+ .fs_ops = &xmm6260_i9250_fs_ops,
+ },
+ {
+ .name = "crespo",
+ .board_name = "herring",
+ .handlers = &crespo_default_handlers,
+ .fmt_ops = &crespo_fmt_ops,
+ .rfs_ops = &crespo_rfs_ops,
+ .fs_ops = NULL,
+ },
+ {
+ .name = "aries",
+ .board_name = "aries",
+ .handlers = &aries_default_handlers,
+ .fmt_ops = &aries_fmt_ops,
+ .rfs_ops = &aries_rfs_ops,
+ .fs_ops = NULL,
+ },
+ {
+ .name = "aries",
+ .board_name = "gt-p1000",
+ .handlers = &aries_default_handlers,
+ .fmt_ops = &aries_fmt_ops,
+ .rfs_ops = &aries_rfs_ops,
+ .fs_ops = NULL,
+ }
};
int ipc_devices_count = sizeof(ipc_devices) / sizeof(struct ipc_device_desc);