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-01-09 20:08:26 +0800
commitba9c65d1d153e9794952510a37aa6b95ec62d59f (patch)
treec9472357a5659907f35d7d52fc2e8edf44b9b57f /firmware
parent0c0dc32ba74057202ac73eaf530ffb4ea158a8f1 (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