1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_M68K_VGA_H
3 #define _ASM_M68K_VGA_H
6 * Some ColdFire platforms do in fact have a PCI bus. So for those we want
7 * to use the real IO access functions, don't fake them out or redirect them
12 #include <asm/raw_io.h>
17 * Ugh, we don't have PCI space, so map readb() and friends to use raw I/O
18 * accessors, which are identical to the z_*() Zorro bus accessors.
19 * This should make cirrusfb work again on Amiga
30 #define outb_p(port, val) do { } while (0)
31 #define outw(port, val) do { } while (0)
33 #define writeb raw_outb
34 #define writew raw_outw
36 #endif /* CONFIG_PCI */
37 #endif /* _ASM_M68K_VGA_H */