* 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.
This commit is contained in:
+1
-1
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user