mpq8064: bringup changes
- gsbi5 for uart (not verified due to h/w issue)
- new target id
Change-Id: I8e0c0811ac76f87e48ff64fb5ec714306db9c105
diff --git a/platform/msm8960/gpio.c b/platform/msm8960/gpio.c
index 783d4c1..82d99bd 100644
--- a/platform/msm8960/gpio.c
+++ b/platform/msm8960/gpio.c
@@ -63,7 +63,24 @@
/* Configure gpio for uart - based on gsbi id */
void gpio_config_uart_dm(uint8_t id)
{
- if(board_platform_id() == APQ8064)
+ if(board_platform_id() == MPQ8064)
+ {
+ switch (id) {
+
+ case GSBI_ID_5:
+ /* configure rx gpio */
+ gpio_tlmm_config(52, 1, GPIO_INPUT, GPIO_NO_PULL,
+ GPIO_8MA, GPIO_DISABLE);
+ /* configure tx gpio */
+ gpio_tlmm_config(51, 1, GPIO_OUTPUT, GPIO_NO_PULL,
+ GPIO_8MA, GPIO_DISABLE);
+ break;
+
+ default:
+ ASSERT(0);
+ }
+ }
+ else if(board_platform_id() == APQ8064)
{
switch (id) {