ARM: Do not use BUG() in pbl code
BUG() uses printf which is not available in pbl, so do not use it here. This becomes necessary when multiple CPU architectures are compiled in. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
932d0cc9a3
commit
8aba2cbd93
|
@ -102,7 +102,7 @@ int arm_set_cache_functions(void)
|
|||
break;
|
||||
#endif
|
||||
default:
|
||||
BUG();
|
||||
while(1);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue