[RFC,PATCH 3/3] arm: remove machine_desc.io_pg_offst and .phys_io

Jeremy Kerr jeremy.kerr at canonical.com
Wed Jul 21 05:09:15 EDT 2010


Russell,

> It's extremely unlikely to have a UART at address 0 (because that's by
> default where the CPU jumps to on reset.)  That's not to say it could
> never happen - it's possible to hard-wire the CPU into 'hivec' mode
> where it'll instead jump to 0xffff0000.  In that case, if you're sane
> you'd put your SDRAM at 0x00000000.

OK, the patch I have just posted is a bit of a hack that does the 0x0
check; happy to do this a different way.

So, the simplest solution seems to be to make the uart mapping code
dependent on !DEBUG_ICEDCC (but leave the code there to add the mappings
for ARCH_NETWINDER, ARCH_CATS and ARCH_RPC). Would you like a new patch
for this?

Cheers,


Jeremy




More information about the linux-arm-kernel mailing list