xtensa: nommu: fix Image.elf reset code and ld script
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 2 Oct 2014 18:03:27 +0000 (22:03 +0400)
committerMax Filippov <jcmvbkbc@gmail.com>
Tue, 21 Oct 2014 09:28:52 +0000 (13:28 +0400)
commitccd0ef38be3b9e0cc6efff407c53c43f648d598b
tree578c346322d590e459b02d6716068614eb88e930
parentbe603092ccc09f2d5ecf64cdf3c702b332a5dde3
xtensa: nommu: fix Image.elf reset code and ld script

Don't hardcode kernel entry address as 0x3000 or 0xd0003000, use
LOAD_MEMORY_ADDRESS macro. Don't compile MMU remapping code and don't try
to link it when building noMMU configuration.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/boot/boot-elf/boot.lds.S
arch/xtensa/boot/boot-elf/bootstrap.S