summaryrefslogtreecommitdiff
path: root/board/tq/tqma6/tqma6_emmc.h
blob: 5ab6c3ac11d77b1b89560a34e519a30a6f8450ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * Copyright (c) 2017-2026 TQ-Systems GmbH <[email protected]>,
 * D-82229 Seefeld, Germany.
 * Author: Markus Niebel
 */

#ifndef __TQMA6_EMMC_H__
#define __TQMA6_EMMC_H__

#define TQMA6_EMMC_DSR		0x0100

struct mmc;

int tqma6_emmc_need_dsr(const struct mmc *mmc);
void tqma6_ft_fixup_emmc_dsr(void *blob, const char *path, u32 value);
void tqma6_mmc_detect_card_type(struct mmc *mmc);

#endif /* __TQMA6_EMMC_H__ */