summaryrefslogtreecommitdiff
path: root/lib_ppc/extable.c
AgeCommit message (Collapse)AuthorFilesLines
2007-05-16Search the exception table with linear algorithmZang Roy-r619111-21/+18
Search the exception table with linear algorithm instead of bisecting algorithm. Because the exception table might be unsorted. Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
2007-04-20Cleanup compiler warnings, update CHANGELOGWolfgang Denk1-9/+9
Signed-off-by: Wolfgang Denk <wd@denx.de>
2006-12-04Slight code clean up.roy zang1-5/+5
Add comments, delete duplicate define and remove spaces. Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
2006-12-01Fix the exception occuring in RAM table search issue.roy zang1-10/+17
The original search_one_table() function code can only processes the search for the exception occurring in FLASH/ROM, because the exception and fixup table usually locate in FLASH. If the exception address is also in FLASH, it will be OK. If the exception occurs in RAM, after the u-boot relocation, a relocation offset should be added. clean up the code in cpu/74xx_7xx/cpu.c Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
2006-11-02General code modification for mpc7448hpc2 board support.roy zang1-0/+10
1. Add 7447A and 7448 processor support. 2. Add the following flags. CFG_CONFIG_BUS_CLK : If the 74xx bus frequency can be configured dynamically (such as by switch on board), this flag should be set. CFG_EXCEPTION_AFTER_RELOCATE: If an exception occurs after the u-boot relocates to RAM, this flag should be set. CFG_SERIAL_HANG_IN_EXCEPTION: If the print out function will cause the system hang in exception, this flag should be set. There is a design issue for tsi108/109 pci configure read. When pci scan the slots, if there is no pci card, the tsi108/9 will cause a machine check exception for mpc7448 processor. Signed-off-by: Alexandre Bounine <alexandreb@tundra.com> Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
2003-06-28* Code cleanup:wdenk1-9/+9
- remove trailing white space, trailing empty lines, C++ comments, etc. - split cmd_boot.c (separate cmd_bdinfo.c and cmd_load.c) * Patches by Kenneth Johansson, 25 Jun 2003: - major rework of command structure (work done mostly by Michal Cendrowski and Joakim Kristiansen)
2002-11-03Initial revisionwdenk1-0/+83