diff options
author | Jon Loeliger <jdl@freescale.com> | 2005-07-23 10:37:35 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2005-07-23 10:37:35 -0500 |
commit | 9c4c5ae3e10e4f2ca799aacbb74e1f5adb86e0b5 (patch) | |
tree | ce06516d3935e9f3e2dac253a78742c7d3c211df /include/ioports.h | |
parent | 2d5df63e4f596fe439405048fd85157cdff079dc (diff) | |
download | bootable_bootloader_goldelico_gta04-9c4c5ae3e10e4f2ca799aacbb74e1f5adb86e0b5.zip bootable_bootloader_goldelico_gta04-9c4c5ae3e10e4f2ca799aacbb74e1f5adb86e0b5.tar.gz bootable_bootloader_goldelico_gta04-9c4c5ae3e10e4f2ca799aacbb74e1f5adb86e0b5.tar.bz2 |
* 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.
Diffstat (limited to 'include/ioports.h')
-rw-r--r-- | include/ioports.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ioports.h b/include/ioports.h index eba9aee..d7e19e1 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)) |