commit | f3090fce77202a867ae23d0df91a2b54ed9ee6e4 | [log] [tgz] |
---|---|---|
author | Michal Simek <monstr@monstr.eu> | Mon Nov 15 09:54:43 2010 +0000 |
committer | Michal Simek <monstr@monstr.eu> | Mon Oct 03 08:01:56 2011 +0200 |
tree | c6a54f4c8d2e64c762ec006d17c0438c818ec12f | |
parent | 86c1b2a86b59f3050413e78bfe40196ac3334c13 [diff] |
microblaze: Save and restore first unused vector Use one memory space to detect little/big endian platforms. The first unused address(0x28) is used instead 0x0 address (reset vectors). Detection rewrited reset vector setup from first stage bootloader. Workflow: 1. Store 0x28 to r7 2. Do little/big endian test 3. Restore r7 to 0x28 Signed-off-by: Michal Simek <monstr@monstr.eu>