From 84cd42f10be74c0a60545c2035876e3beca644a3 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Thu, 5 Jul 2012 17:54:25 +0200 Subject: XMM6260: Split code into galaxys2, maguro and xmm2620 (shared code) devices * Moved maguro and galaxys2 loaders to proper folders * Renamed i9100 to galaxys2 and i9250 to maguro * Device-specific ops, handlers, gprs_specs and nv_data_specs on XMM2620 devices though most data/functions are still shared in xmm2620_ipc * Removed radio_parts from modemctl_io_data * Moved CRC calculate function to xmm2620_loader * Moved io_helpers functions to xmm2620_loader * Listed include headers in each file instead of using common.h * Prefixed remaining xmm2620 files Signed-off-by: Paul Kocialkowski --- samsung-ipc/ipc_devices.c | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) (limited to 'samsung-ipc/ipc_devices.c') diff --git a/samsung-ipc/ipc_devices.c b/samsung-ipc/ipc_devices.c index f686ba7..14c1ff6 100644 --- a/samsung-ipc/ipc_devices.c +++ b/samsung-ipc/ipc_devices.c @@ -18,13 +18,12 @@ * */ +#include + #include #include "ipc_devices.h" - struct ipc_gprs_specs *gprs_specs; - struct ipc_nv_data_specs *nv_data_specs; - struct ipc_device_desc ipc_devices[] = { { .name = "crespo", @@ -56,29 +55,29 @@ struct ipc_device_desc ipc_devices[] = { { .name = "galaxys2", .board_name = "i9100", - .fmt_ops = &xmm6260_i9100_fmt_ops, - .rfs_ops = &xmm6260_rfs_ops, - .handlers = &xmm6260_default_handlers, - .gprs_specs = &xmm6260_gprs_specs, + .fmt_ops = &galaxys2_fmt_ops, + .rfs_ops = &galaxys2_rfs_ops, + .handlers = &galaxys2_default_handlers, + .gprs_specs = &galaxys2_gprs_specs, .nv_data_specs = NULL, }, { .name = "galaxys2", .board_name = "smdk4210", - .fmt_ops = &xmm6260_i9100_fmt_ops, - .rfs_ops = &xmm6260_rfs_ops, - .handlers = &xmm6260_default_handlers, - .gprs_specs = &xmm6260_gprs_specs, + .fmt_ops = &galaxys2_fmt_ops, + .rfs_ops = &galaxys2_rfs_ops, + .handlers = &galaxys2_default_handlers, + .gprs_specs = &galaxys2_gprs_specs, .nv_data_specs = NULL, }, { .name = "maguro", .board_name = "tuna", - .fmt_ops = &xmm6260_i9250_fmt_ops, - .rfs_ops = &xmm6260_rfs_ops, - .handlers = &xmm6260_default_handlers, - .gprs_specs = &xmm6260_gprs_specs, - .nv_data_specs = &xmm6260_nv_data_specs, + .fmt_ops = &maguro_fmt_ops, + .rfs_ops = &maguro_rfs_ops, + .handlers = &maguro_default_handlers, + .gprs_specs = &maguro_gprs_specs, + .nv_data_specs = &maguro_nv_data_specs, } }; -- cgit v1.1