blob: aa16d3bdc44b5abee26eef3154f565a392c698fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
// SPDX-License-Identifier: GPL-2.0-only
/*
* fat.c - FAT filesystem barebox driver
*
* Copyright (c) 2011 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix
*/
#include <common.h>
#include <linux/ctype.h>
#include "integer.h"
#include "ff.h"
#include "diskio.h"
DSTATUS disk_status(FATFS *fat)
{
return 0;
}
DWORD get_fattime(void)
{
return 0;
}
DRESULT disk_ioctl (FATFS *fat, BYTE command, void *buf)
{
return 0;
}
WCHAR ff_convert(WCHAR src, UINT dir)
{
if (src <= 0x80)
return src;
else
return '?';
}
WCHAR ff_wtoupper(WCHAR chr)
{
if (chr <= 0x80)
return toupper(chr);
else
return '?';
}
|