From: Anantha Krishnan Date: Wed, 20 Aug 2014 12:13:19 +0530 Subject: [PATCH] bluetooth : Add support for TUFEELO firmware download Add TUFELLO chip version to allow firmware download. Change-Id: Ie3760fa64e8345bf9a84b2f047fde0ac1003b393 --- tools/hciattach_rome.c | 5 ++++- tools/hciattach_rome.h | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/hciattach_rome.c b/tools/hciattach_rome.c index d2687b1ef01a..84dfc97b5140 100644 --- a/tools/hciattach_rome.c +++ b/tools/hciattach_rome.c @@ -1616,9 +1616,12 @@ int qca_soc_init(int fd, char *bdaddr) nvm_file_path = ROME_NVM_TLV_2_0_1_PATH; goto download; case ROME_VER_3_0: - case TUFELLO_VER_1_0: rampatch_file_path = ROME_RAMPATCH_TLV_3_0_0_PATH; nvm_file_path = ROME_NVM_TLV_3_0_0_PATH; + goto download; + case TUFELLO_VER_1_0: + rampatch_file_path = TF_RAMPATCH_TLV_1_0_0_PATH; + nvm_file_path = TF_NVM_TLV_1_0_0_PATH; download: /* Change baud rate 115.2 kbps to 3Mbps*/ diff --git a/tools/hciattach_rome.h b/tools/hciattach_rome.h index 3efb71995c45..9d18c576fcae 100644 --- a/tools/hciattach_rome.h +++ b/tools/hciattach_rome.h @@ -204,7 +204,8 @@ typedef struct #define ROME_NVM_TLV_2_0_1_PATH "/lib/firmware/nvm_tlv_2.1.bin" #define ROME_RAMPATCH_TLV_3_0_0_PATH "/lib/firmware/qca/rampatch_tlv_3.0.tlv" #define ROME_NVM_TLV_3_0_0_PATH "/lib/firmware/qca/nvm_tlv_3.0.bin" - +#define TF_RAMPATCH_TLV_1_0_0_PATH "/lib/firmware/rampatch_tlv_tf_1.0.tlv" +#define TF_NVM_TLV_1_0_0_PATH "/lib/firmware/nvm_tlv_tf_1.0.bin" /****************************************************************************** ** Local type definitions