boards/cxd56xx/spresense: Add CXD56_LTE_LATE_INITIALIZE config
This CXD56_LTE_LATE_INITIALIZE enables to initialize alt1250 lte driver in the application side code.
This commit is contained in:
parent
76e411eca0
commit
77528fbeb9
@ -756,6 +756,13 @@ config CXD56_LTE_SPI5_DMAC
|
||||
|
||||
endif # CXD56_LTE_SPI5
|
||||
|
||||
config CXD56_LTE_LATE_INITIALIZE
|
||||
bool "Alt1250 driver late initialize"
|
||||
default n
|
||||
---help---
|
||||
LTE driver can be initialized on an application code after system booted up
|
||||
by enabling this configuration switch.
|
||||
|
||||
endif # CXD56_LTE
|
||||
|
||||
config CXD56_BINARY
|
||||
|
@ -463,6 +463,14 @@ int cxd56_bringup(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_MODEM_ALT1250) && !defined(CONFIG_CXD56_LTE_LATE_INITIALIZE)
|
||||
ret = board_alt1250_initialize("/dev/alt1250");
|
||||
if (ret < 0)
|
||||
{
|
||||
_err("ERROR: Failed to initialize ALT1250.\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CXD56_GNSS
|
||||
ret = cxd56_gnssinitialize("/dev/gps");
|
||||
if (ret < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user