mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
6e7df1d151
At this point, the remaining places where we have a symbol that is defined as CONFIG_... are in fairly odd locations. While as much dead code has been removed as possible, some of these locations are simply less obvious at first. In other cases, this code is used, but was defined in such a way as to have been missed by earlier checks. Perform a rename of all such remaining symbols to be CFG_... rather than CONFIG_... Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
26 lines
466 B
C
26 lines
466 B
C
#ifndef __LINUX_COMPAT_H__
|
|
#define __LINUX_COMPAT_H__
|
|
|
|
#include <malloc.h>
|
|
#include <linux/delay.h>
|
|
#include <linux/list.h>
|
|
#include <linux/compat.h>
|
|
|
|
#define device_init_wakeup(dev, a) do {} while (0)
|
|
|
|
#define platform_data device_data
|
|
|
|
#define msleep(a) udelay(a * 1000)
|
|
|
|
/*
|
|
* Map U-Boot config options to Linux ones
|
|
*/
|
|
#ifdef CONFIG_OMAP34XX
|
|
#define CFG_SOC_OMAP3430
|
|
#endif
|
|
|
|
#ifdef CONFIG_OMAP44XX
|
|
#define CFG_ARCH_OMAP4
|
|
#endif
|
|
|
|
#endif /* __LINUX_COMPAT_H__ */
|