Commit Graph

9 Commits

Author SHA1 Message Date
Anish Trivedi
22bfe557cb ENGR00141478-1 SAHARA: Move header file to include directory
The user mode libsahara library relied on header file
drivers/mxc/security/sahara2/include/sahara.h. However, to make
the lib build after headers_install step and to remove dependency on
kernel source, moved this header to include/linux/mxc_sahara.h.

These are the necessary changes in the SAHARA driver to use the new
header file in the new location.

Signed-off-by: Anish Trivedi <anish@freescale.com>
2011-07-03 16:03:51 -05:00
Anish Trivedi
fea4e4245d 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>
2011-07-03 15:58:18 -05:00
Matt Sealey
4c42e72454 scc2: export pertinent symbols so we can build as modules 2011-02-23 23:52:03 -06:00
Anish Trivedi
cd0b90064f ENGR00122290-3 MX5x Enable SCC2 and SAHARA drivers
SAHARA driver changes for MX53 including fix for handling
high memory user buffers

Signed-off-by: Anish Trivedi <anish@freescale.com>
2010-08-10 11:49:03 -05:00
Anish Trivedi
414ad74dc6 ENGR00122290-2 MX5x Enable SCC2 and SAHARA drivers
SCC2 driver changes to set base address of registers and
scc ram based on resources

Signed-off-by: Anish Trivedi <anish@freescale.com>
2010-08-10 11:49:03 -05:00
Rob Herring
183afb82e4 ENGR00121296: imx51: rename mx51 to mx5
Rename mx51 to mx5 for common source for MX5x family

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:47:12 -05:00
Rob Herring
8961897432 ENGR00120394-3 imx: remove IO_ADDRESS usage in drivers
This replaces IO_ADDRESS with ioremap in drivers. Drivers needing more
than trivial changes are not included.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:46:55 -05:00
Rob Herring
a45319ebdb ENGR00120394-1 imx: remove unneeded spba related code
The spba defaults to all masters enabled and this is fine as
all chips only have ARM and SDMA as masters.

Signed-off-by: Rob Herring <r.herring@freescale.com>
2010-08-10 11:46:54 -05:00
Rob Herring
be0524d38f ENGR00117389 Port 5.0.0 release to 2.6.31
This is i.MX BSP 5.0.0 release ported to 2.6.31

Signed-off-by: Rob Herring <r.herring@freescale.com>
Signed-off-by: Alan Tull <r80115@freescale.com>
Signed-off-by: Xinyu Chen <xinyu.chen@freescale.com>
2010-08-10 11:44:41 -05:00