9
0
Fork 0

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:
Sascha Hauer 2014-01-28 09:39:07 +01:00
parent 932d0cc9a3
commit 8aba2cbd93
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ int arm_set_cache_functions(void)
break;
#endif
default:
BUG();
while(1);
}
return 0;