arch/io.h: Separate MMIO and PNP ops
Change-Id: Ie32f1d43168c277be46cdbd7fbfa2445d9899689 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/31699 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
* GNU General Public License for more details.
|
||||
*/
|
||||
|
||||
#ifndef _ASM_IO_H
|
||||
#define _ASM_IO_H
|
||||
#ifndef __ARCH_MMIO_H__
|
||||
#define __ARCH_MMIO_H__
|
||||
|
||||
#include <endian.h>
|
||||
#include <stdint.h>
|
||||
@@ -57,4 +57,4 @@ static __always_inline void write64(volatile void *addr, uint64_t value)
|
||||
*((volatile uint64_t *)(addr)) = value;
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif /* __ARCH_MMIO_H__ */
|
Reference in New Issue
Block a user