upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
894 B
34 lines
894 B
/*
|
|
* MUSB OTG driver debug defines
|
|
*
|
|
* Copyright 2005 Mentor Graphics Corporation
|
|
* Copyright (C) 2005-2006 by Texas Instruments
|
|
* Copyright (C) 2006-2007 Nokia Corporation
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0
|
|
*/
|
|
|
|
#ifndef __MUSB_LINUX_DEBUG_H__
|
|
#define __MUSB_LINUX_DEBUG_H__
|
|
|
|
#define yprintk(facility, format, args...) \
|
|
do { printk(facility "%s %d: " format , \
|
|
__func__, __LINE__ , ## args); } while (0)
|
|
#define WARNING(fmt, args...) yprintk(KERN_WARNING, fmt, ## args)
|
|
#define INFO(fmt, args...) yprintk(KERN_INFO, fmt, ## args)
|
|
#define ERR(fmt, args...) yprintk(KERN_ERR, fmt, ## args)
|
|
|
|
#ifdef CONFIG_DEBUG_FS
|
|
int musb_init_debugfs(struct musb *musb);
|
|
void musb_exit_debugfs(struct musb *musb);
|
|
#else
|
|
static inline int musb_init_debugfs(struct musb *musb)
|
|
{
|
|
return 0;
|
|
}
|
|
static inline void musb_exit_debugfs(struct musb *musb)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif /* __MUSB_LINUX_DEBUG_H__ */
|
|
|