X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=lib_ppc%2Fextable.c;h=91e2b3d246186d56466781e09e4da462bac43dc9;hb=b5ffb193330113d2e00489d96bf8ec1f541ed4e1;hp=8354411f01fd51cfd58ecf10585e1906368c3746;hpb=1b305bdc754c8468e1d5d858f5dcf8a7a0a4bb7a;p=oweals%2Fu-boot.git diff --git a/lib_ppc/extable.c b/lib_ppc/extable.c index 8354411f01..91e2b3d246 100644 --- a/lib_ppc/extable.c +++ b/lib_ppc/extable.c @@ -53,7 +53,7 @@ search_one_table(const struct exception_table_entry *first, unsigned long value) { long diff; - if ((ulong) first > CFG_MONITOR_BASE) { + if ((ulong) first > CONFIG_SYS_MONITOR_BASE) { /* exception occurs in FLASH, before u-boot relocation. * No relocation offset is needed. */ @@ -87,9 +87,9 @@ search_exception_table(unsigned long addr) /* There is only the kernel to search. */ ret = search_one_table(__start___ex_table, __stop___ex_table-1, addr); /* if the serial port does not hang in exception, printf can be used */ -#if !defined(CFG_SERIAL_HANG_IN_EXCEPTION) +#if !defined(CONFIG_SYS_SERIAL_HANG_IN_EXCEPTION) if (ex_tab_message) - printf("Bus Fault @ 0x%08lx, fixup 0x%08lx\n", addr, ret); + debug("Bus Fault @ 0x%08lx, fixup 0x%08lx\n", addr, ret); #endif if (ret) return ret;