From 9c4c5ae3e10e4f2ca799aacbb74e1f5adb86e0b5 Mon Sep 17 00:00:00 2001 From: Jon Loeliger Date: Sat, 23 Jul 2005 10:37:35 -0500 Subject: * Patch by Jon Loeliger, Kumar Gala 2005-02-08 - Convert the CPM2 based functionality to use new CONFIG_CPM2 option rather than a myriad of CONFIG_MPC8560-like variants. Applies to MPC85xx and MPC8260 boards, includes stxgp3 and sbc8560. Eliminates the CONFIG_MPC8560 option entirely. Distributes the new CONFIG_CPM2 option to each 8260 board. --- include/ioports.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ioports.h') diff --git a/include/ioports.h b/include/ioports.h index eba9aee0d..d7e19e195 100644 --- a/include/ioports.h +++ b/include/ioports.h @@ -25,7 +25,7 @@ typedef struct { * the internal memory map aligns the above structure on * a 0x20 byte boundary */ -#ifdef CONFIG_MPC8560 +#ifdef CONFIG_MPC85xx #define ioport_addr(im, idx) (ioport_t *)((uint)&((im)->im_cpm.im_cpm_iop) + ((idx)*0x20)) #else #define ioport_addr(im, idx) (ioport_t *)((uint)&(im)->im_ioport + ((idx)*0x20)) -- cgit v1.2.3