serial ports on 8245

Marius Groeger mag at sysgo.de
Thu Feb 14 21:25:11 EST 2002


In linux.ppc.embedded, Greg Allen wrote:
>
> >     arch/ppc/mm/init.c:
> >     #ifdef CONFIG_HIGHMEM
> >	    ioremap_base = PKMAP_BASE;
> >     #else
> >	    ioremap_base = 0xfc000000UL;    /* for now, could be 0xfffff000 */
> >     #endif /* CONFIG_HIGHMEM */
>
> It's even worse than that, because:
>      arch/ppc/mm/pgtable.c
>          io_block_mapping(virt, ....) {
>              if (...)
>                  ioremap_bot = ioremap_base = virt;
>
> IOW, calling io_block_mapping (which is typically done in
> ($PLATFORM)_map_io) moves the EUMB around, too.

True, io_block_mapping() may move ioremap_base, but mpc10x_bridge_init() is
always called before $(PLATFORM)_map_io(), so this should not be a problem.
Or am I missing something?

--
Regards,
Marius.

--
Marius Groeger        SYSGO Real-Time Solutions GmbH    www.sysgo.de
Software Engineering  Embedded and Real-Time Software   www.osek.de
mgroeger @ sysgo de   Germany                           www.elinos.com

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list