aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/devices/ipc_devices.c
diff options
context:
space:
mode:
authorTony Garnock-Jones <tonyg@leastfixedpoint.com>2020-09-29 22:03:06 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-02-22 16:26:36 +0100
commit56ff64110d57570454a4a308419190cae74b133e (patch)
treef80132d12a0b47fc9c77f52f498a430534f628ee /samsung-ipc/devices/ipc_devices.c
parent900ac4d9fe69e381717e04e500431f6eaec3d530 (diff)
downloadhardware_replicant_libsamsung-ipc-56ff64110d57570454a4a308419190cae74b133e.tar.gz
hardware_replicant_libsamsung-ipc-56ff64110d57570454a4a308419190cae74b133e.tar.bz2
hardware_replicant_libsamsung-ipc-56ff64110d57570454a4a308419190cae74b133e.zip
Initial support for herolte (Samsung Galaxy S7 GSM).
A previous version of this patch was tested on the herolte, however since then, several light functional changes were introduced. With the previous patch, it was possible to boot the modem and it was probably possible to send message to, and receive messages from the modem. For the TARGET_DEVICE we use in our Android.mk, In the Android.mk of android_device_samsung_herolte[1] we have: ifneq ($(filter herolte, $(TARGET_DEVICE)),) include $(call all-makefiles-under,$(LOCAL_PATH)) endif so we can safely assume that the TARGET_DEVICE is herolte. [1]https://github.com/LineageOS/android_device_samsung_herolte Signed-off-by: Tony Garnock-Jones <tonyg@leastfixedpoint.com> GNUtoo: rebased, code cleanup, more debug prints, commit message content but not its summary. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'samsung-ipc/devices/ipc_devices.c')
-rw-r--r--samsung-ipc/devices/ipc_devices.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/samsung-ipc/devices/ipc_devices.c b/samsung-ipc/devices/ipc_devices.c
index 91663f6..a0fe955 100644
--- a/samsung-ipc/devices/ipc_devices.c
+++ b/samsung-ipc/devices/ipc_devices.c
@@ -154,6 +154,16 @@ struct ipc_device_desc ipc_devices[] = {
.gprs_specs = &n5100_gprs_specs,
.nv_data_specs = &n5100_nv_data_specs,
},
+ {
+ .name = "herolte",
+ .board_name = NULL,
+ .kernel_version = NULL,
+ .fmt_ops = &herolte_fmt_ops,
+ .rfs_ops = &herolte_rfs_ops,
+ .handlers = &herolte_handlers,
+ .gprs_specs = &herolte_gprs_specs,
+ .nv_data_specs = &herolte_nv_data_specs,
+ },
};
unsigned int ipc_devices_count = sizeof(ipc_devices) /