ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above

Modern GCC can generate code which makes use of the CPU's native
unaligned memory access capabilities.  This is useful for the C
decompressor implementations used for unpacking compressed kernels.

This patch disables alignment faults and enables the v6 unaligned
access model on CPUs which support these features (i.e., v6 and
later), allowing full unaligned access support for C code in the
decompressor.

The decompressor C code must not be built to assume that unaligned
access works if support for v5 or older platforms is included in
the kernel.

For correct code generation, C decompressor code must always use
the get_unaligned and put_unaligned accessors when dealing with
unaligned pointers, regardless of this patch.

Signed-off-by: Dave Martin <dave.martin@linaro.org>
Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
defconfig: Dump configs
ARM: 7928/1: kconfig: select HAVE_EFFICIENT_UNALIGNED_ACCESS for CPUv6+ && MMU

Modern ARM CPUs can perform efficient unaligned memory accesses in
hardware and this feature is relied up on by code such as the dcache
word-at-a-time name hashing.

This patch selects HAVE_EFFICIENT_UNALIGNED_ACCESS for these cores and
reworks the kconfig select logic for DCACHE_WORD_ACCESS to use the new
symbol.

Change-Id: I2d6474e99fec6aa940cc2f3d2cd2e6a0c4ca636a
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Merge pull request #1 from zwliew/master

Fix warnings
Merge branch 'master' of github.com:cocafe/C6902_kernel_CoCore-Z
scripts: For debugging, don't treat warning as error
Revert "scripts: For debugging, don't treat warning as error"

This reverts commit 52d1af3e0b84dacdc8a11e602b2fcf0d25bdc76f.
Makefile: remove linking to GCC wrapper

Since we don't want the warnings to be considered errors, reduce overhead and compilation time by removing the linking to GCC wrapper, thus removing the unnecessary checks.

Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>