u-boot/include/asm-arm
Remy Bohmer 25793f76bf ARM: Use Linux version for unaligned access code
The asm-arm/unaligned.h includes linux/unaligned/access_ok.h
This file is unsafe to be used on ARM, since it does an unaligned memory
accesses which fails on ARM.

Lookin at Linux the basic difference seems to be the header
"include/asm-arm/unaligned.h". The Linux version of "unaligned.h"
does *not* include "access_ok.h" at all. It includes "le_byteshift.h"
and "be_byteshift.h" instead.

Signed-off-by: Remy Bohmer <linux@bohmer.net>
Signed-off-by: Stefan Roese <sr@denx.de>
--
 include/asm-arm/unaligned.h            |    3 -
 include/linux/unaligned/be_byteshift.h |   70 +++++++++++++++++++++++++++++++++
 include/linux/unaligned/le_byteshift.h |   70 +++++++++++++++++++++++++++++++++
 3 files changed, 142 insertions(+), 1 deletion(-)
 create mode 100644 include/linux/unaligned/be_byteshift.h
 create mode 100644 include/linux/unaligned/le_byteshift.h
2009-11-07 15:56:30 -06:00
..
arch-arm720t s3c4510b: move specific code to soc directory 2009-03-29 23:01:36 +02:00
arch-arm925t Patches by Kshitij, 04 Jul 2003 2003-07-15 20:04:06 +00:00
arch-arm926ejs * Patch by George G. Davis, 19 Aug 2003: 2003-08-29 22:00:43 +00:00
arch-at91 at91: Introduction of at91sam9g10 SOC. 2009-07-12 17:56:11 +02:00
arch-at91rm9200 at91rm9200: move define from lowlevel_init to header 2009-01-06 21:41:59 +01:00
arch-davinci Coding Style cleanup; update CHANGELOG, prepare -rc1 2009-10-28 00:49:47 +01:00
arch-imx arm-imx: Fix register definitions 2008-03-02 21:15:06 +01:00
arch-ixp Big white-space cleanup. 2008-05-21 00:14:08 +02:00
arch-kirkwood arm: Kirkwood: add SYSRSTn Duration Counter Support 2009-09-01 22:34:03 +02:00
arch-ks8695 * Patch by Greg Ungerer, 19 May 2005: 2005-05-19 22:39:42 +00:00
arch-lpc2292 Eliminated arch-specific mmc header requirement 2009-02-16 18:07:41 -06:00
arch-mx27 imx27lite: add support for imx27lite board from LogicPD 2009-09-01 22:10:55 +02:00
arch-mx31 MX31: Add NAND SPL boot support to i.MX31 PDK board. 2009-07-06 21:53:18 +02:00
arch-nomadik arm nomadik: add gpio support 2009-07-29 09:57:46 +02:00
arch-omap Update omap5912osk board support 2006-05-10 10:55:16 +02:00
arch-omap3 TI OMAP3: make gpmc_config as const 2009-10-24 09:55:24 -05:00
arch-omap24xx OMAP I2C Fix the sampling clock. 2009-07-28 08:52:33 +02:00
arch-pxa Monahans: avoid floating point calculations 2009-08-17 23:53:41 +02:00
arch-s3c24x0 Fix e-mail address of Gary Jennejohn. 2009-05-15 22:11:59 +02:00
arch-s3c44b0 * Patch by Andrea Scian, 17 Feb 2004: 2004-02-24 00:16:43 +00:00
arch-s3c64xx ARM: Add arm1176 core with S3C6400 SoC 2008-08-31 00:39:46 +02:00
arch-s3c4510b s3c4510b: move specific code to soc directory 2009-03-29 23:01:36 +02:00
arch-s5pc1xx s5pc1xx: SMDKC100: fix compile warnings 2009-10-24 09:55:25 -05:00
arch-sa1100 Big white-space cleanup. 2008-05-21 00:14:08 +02:00
proc-armv Remove duplicate set_cr 2009-09-01 22:08:46 +02:00
atomic.h * Header file cleanup for ARM 2003-06-25 22:26:29 +00:00
bitops.h Correct ffs/fls regression for PowerPC etc 2009-09-17 22:45:31 +02:00
byteorder.h * Code cleanup: 2003-06-27 21:31:46 +00:00
cache.h move L2 cache enable/disable function to cache.c in the omap3 SoC directory 2009-07-06 21:52:25 +02:00
config.h arm/microblaze/nios/nios2/sh: Remove relocation fixups 2009-10-03 10:17:57 +02:00
dma-mapping.h Fix @ -> <at> substitution 2008-05-10 00:30:22 +02:00
errno.h asm-generic: Consolidate errno.h to asm-generic/errno.h 2009-07-09 14:07:11 +02:00
global_data.h arm/microblaze/nios/nios2/sh: Remove relocation fixups 2009-10-03 10:17:57 +02:00
hardware.h * Header file cleanup for ARM 2003-06-25 22:26:29 +00:00
io.h Introduce virt_to_phys() 2008-12-15 22:04:29 +01:00
mach-types.h ARM: Update mach-types 2009-09-04 23:20:29 +02:00
macro.h ARM: Add macros.h to be used in assembler file. 2009-06-21 16:18:12 +02:00
memory.h * Header file cleanup for ARM 2003-06-25 22:26:29 +00:00
posix_types.h Initial revision 2002-08-14 13:28:45 +00:00
processor.h * Header file cleanup for ARM 2003-06-25 22:26:29 +00:00
ptrace.h * Code cleanup: 2003-06-27 21:31:46 +00:00
setup.h * Code cleanup: 2003-06-27 21:31:46 +00:00
sizes.h * Header file cleanup for ARM 2003-06-25 22:26:29 +00:00
string.h * Patch by Daniel Engström, 18 Nov 2002: 2002-11-19 23:01:07 +00:00
system.h arm: update co-processor 15 access 2009-04-05 13:02:43 +02:00
types.h Introduce phys_size_t and move phys_addr_t into asm/types.h 2008-04-13 17:13:46 -07:00
u-boot-arm.h arch_misc_init support for ARM architectures 2009-06-12 20:45:46 +02:00
u-boot.h remove bi_enet*addr from global data for all arches 2009-03-20 22:39:12 +01:00
unaligned.h ARM: Use Linux version for unaligned access code 2009-11-07 15:56:30 -06:00