Revert "[Feture][ZXV][PL]enable GNSS"
This reverts commit e2a3410390ff0ad762462ccb6af8faa5e16dcd61.
diff --git a/boot/common/src/uboot/drivers/peripheral/peripheral.c b/boot/common/src/uboot/drivers/peripheral/peripheral.c
old mode 100755
new mode 100644
index 4b0d8fe..564c2ca
--- a/boot/common/src/uboot/drivers/peripheral/peripheral.c
+++ b/boot/common/src/uboot/drivers/peripheral/peripheral.c
@@ -33,9 +33,7 @@
****************************************************************************/
#define SD1_IO_1V8_EN 0x13c830
#define REG32(x) (*(volatile u32*)(x))
-//xf.li@20230412 add for enable GNSS start
-#define ZX_TOP_CRM_BASE 0x0013B000
-//xf.li@20230412 add for enable GNSS end
+
/****************************************************************************
* Local Types
****************************************************************************/
@@ -81,20 +79,6 @@
REG32(SD1_IO_1V8_EN) |=(1<<1);
#endif
-//xf.li@20230412 add for enable GNSS start
-#if 1 //enable GNSS
- REG32(ZX_TOP_CRM_BASE + 0x34) |= (0x1<<5);
- zDrvGpio_SetFunc(GPIO15,GPIO15_CLK_OUT0);
-
- zDrvGpio_SetFunc(GPIO86,GPIO86_GPIO86);
- zDrvGpio_SetDirection(GPIO86,GPIO_OUT);
- zDrvGpio_SetOutputValue(GPIO86,GPIO_HIGH);
-
- zDrvGpio_SetFunc(GPIO126,GPIO126_GPIO126);
- zDrvGpio_SetDirection(GPIO126,GPIO_OUT);
- zDrvGpio_SetOutputValue(GPIO126,GPIO_LOW);
-#endif
-//xf.li@20230412 add for enable GNSS end
zx234502_charger_enable();
return ret ;