aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-06-11 22:50:18 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2019-06-18 18:55:54 +0200
commitf6afcc3d2cfa23d8f35143cf5a975766c46f984d (patch)
tree79c02e3ea4feae921976ca760165f2433f40a4bb
parentf53c79abd7a7c7b901d0f410e7cb380451dc4ad4 (diff)
downloadhardware_replicant_libsamsung-ipc-f6afcc3d2cfa23d8f35143cf5a975766c46f984d.tar.gz
hardware_replicant_libsamsung-ipc-f6afcc3d2cfa23d8f35143cf5a975766c46f984d.tar.bz2
hardware_replicant_libsamsung-ipc-f6afcc3d2cfa23d8f35143cf5a975766c46f984d.zip
support new codename and board name for piranha
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r--Android.mk2
-rw-r--r--samsung-ipc/ipc_devices.c10
2 files changed, 11 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 8d21739..f480508 100644
--- a/Android.mk
+++ b/Android.mk
@@ -35,7 +35,7 @@ ifneq (,$(filter maguro,$(TARGET_DEVICE)))
ipc_device_name := maguro
endif
-ifneq (,$(filter p5100 p3100,$(TARGET_DEVICE)))
+ifneq (,$(filter p5100 p3100 espresso3g,$(TARGET_DEVICE)))
ipc_device_name := piranha
endif
diff --git a/samsung-ipc/ipc_devices.c b/samsung-ipc/ipc_devices.c
index 13d9892..43a83e5 100644
--- a/samsung-ipc/ipc_devices.c
+++ b/samsung-ipc/ipc_devices.c
@@ -114,6 +114,16 @@ struct ipc_device_desc ipc_devices[] = {
.nv_data_specs = &piranha_nv_data_specs,
},
{
+ .name = "piranha",
+ .board_name = "omap4 espresso board",
+ .kernel_version = NULL,
+ .fmt_ops = &piranha_fmt_ops,
+ .rfs_ops = &piranha_rfs_ops,
+ .handlers = &piranha_handlers,
+ .gprs_specs = &piranha_gprs_specs,
+ .nv_data_specs = &piranha_nv_data_specs,
+ },
+ {
.name = "i9300",
.board_name = "smdk4x12",
.kernel_version = NULL,