mirror of
https://github.com/linux-msm/tqftpserv.git
synced 2024-11-27 03:54:23 +08:00
fe53d2a810
The tftp clients in the modem requests files from either /readwrite or /readonly/firmware/image, but as the wlanmdsp.mbn file requested is signed with a vendor specific key these paths needs to be translated. /readwrite is translated to /tmp/tqftpserv for now and the /readonly/firmware/image is translated to a search for the requested file alongside any of the remoteproc firmware files. The result is that the wlanmdsp.mbn can be stored in linux-firmware alongside it's device/vendor specific modem firmware. Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
7 lines
106 B
C
7 lines
106 B
C
#ifndef __TRANSLATE_H__
|
|
#define __TRANSLATE_H__
|
|
|
|
int translate_open(const char *path, int flags);
|
|
|
|
#endif
|