summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorAnish Trivedi <anish@freescale.com>2011-04-29 13:49:39 -0500
committerJason Liu <r64343@freescale.com>2012-07-20 13:13:36 +0800
commit124e4d099b064f57d32f2638da7a323b7c8168d1 (patch)
tree942607a729631f2b0a9055018cc34764bdbfaf17 /firmware
parent2446be8eb39f6636b44534f59e0d18ccad7504ee (diff)
ENGR00142679 SCC2 and SAHARA: changes to support loadable modules
To allow SCC2 and SAHARA drivers to work as loadable modules, needed to add GPL license to SAHARA driver, export a couple of functions from SCC2 driver, and the following data buffer mapping change in SAHARA driver: When compiled as a loadable module, a data buffer to be DMA'ed in the SAHARA driver may not be in the kernel direct-mapped region but in the "Kernel module space" between TASK_SIZE and high_memory-1 (see http://www.arm.linux.org.uk/developer/memory.txt). In this scenario, the driver canno simply use the __pa macro to obtain the physical address. It must walk the page tables to find the page and use the page_to_phys function to find the physical address that corresponds to the data buffer. Signed-off-by: Anish Trivedi <anish@freescale.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions