Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _M68K_IO_H
3#define _M68K_IO_H
4
5#if defined(__uClinux__) || defined(CONFIG_COLDFIRE)
6#include <asm/io_no.h>
7#else
8#include <asm/io_mm.h>
9#endif
10
11#include <asm-generic/io.h>
12
13#endif /* _M68K_IO_H */
1#ifdef __uClinux__
2#include <asm/io_no.h>
3#else
4#include <asm/io_mm.h>
5#endif
6
7#define readb_relaxed(addr) readb(addr)
8#define readw_relaxed(addr) readw(addr)
9#define readl_relaxed(addr) readl(addr)
10
11#define writeb_relaxed(b, addr) writeb(b, addr)
12#define writew_relaxed(b, addr) writew(b, addr)
13#define writel_relaxed(b, addr) writel(b, addr)