mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 17:08:52 +09:00
![Philippe Reynes](/assets/img/avatar_default.png)
The driver brcmnand come from linux kernel 4.18. Only SoC bcm6838 and bcm6858 are supported. Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com>
16 lines
392 B
C
16 lines
392 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
#ifndef __BRCMNAND_COMPAT_H
|
|
#define __BRCMNAND_COMPAT_H
|
|
|
|
#include <clk.h>
|
|
#include <dm.h>
|
|
|
|
struct clk *devm_clk_get(struct udevice *dev, const char *id);
|
|
int clk_prepare_enable(struct clk *clk);
|
|
void clk_disable_unprepare(struct clk *clk);
|
|
|
|
char *devm_kasprintf(struct udevice *dev, gfp_t gfp, const char *fmt, ...);
|
|
|
|
#endif /* __BRCMNAND_COMPAT_H */
|