>is this necessary to include new device into that table ?
>if so, how ?
[Platon] If you need to do anything with your peripherals in u-Boot
environment, then yes, you have to set a TLB for them. Some of our
development systems have board-level control registers connected to
the local bus, see how TLBs are defined for them, do the same. You take a
look how macros PIXIS_BASE, PIXIS_BASE_PHYS are used in in
/board/freescale/p1022ds/tlb.c for instance.
If your peripherals are to be used in Linux only, then it is OK not
to setup a TLB for them (LAW is still necessary).
>and what about kernel ? where do i configure TLB ?
[Platon] Linux kernel creates a mapping for a peripheral when it's
driver calls ioremap().
Have a great day,
Platon
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------