Simon Glass
3977403642
Add a dedicated panic() function
...
In addition to ASSERT(), it might be useful to panic() sometimes, so add
a tidy way of doing it which will print a message and reset.
BUG=chrome-os-partner:10149
TEST=manual
Build a special version for snow where the 'rw' command calls panic()
See that a message is produced:
> rw 0
read 0x0 = 0x20001048
** PANIC: Address is 0
Change-Id: I4512c0193f4c1d52d0c256b2deefacf551056fd9
Signed-off-by: Simon Glass <sjg@chromium.org >
Reviewed-on: https://gerrit.chromium.org/gerrit/25413
2012-06-22 11:12:40 -07:00
..
2012-04-19 13:08:58 -07:00
2012-05-25 09:59:58 -07:00
2012-04-19 01:16:01 +08:00
2012-05-25 09:59:58 -07:00
2012-05-25 09:59:58 -07:00
2012-04-19 11:08:28 -07:00
2012-04-19 11:08:28 -07:00
2012-05-14 16:07:17 -07:00
2012-04-24 09:59:31 -07:00
2012-05-25 15:03:47 -07:00
2012-06-07 00:54:02 -07:00
2012-06-20 23:30:02 -07:00
2011-12-07 19:10:02 +00:00
2012-04-10 14:09:40 -07:00
2012-04-02 10:57:03 -07:00
2012-02-15 16:34:54 -08:00
2012-05-08 21:00:38 -07:00
2012-05-21 16:30:12 -07:00
2012-05-15 18:34:50 -07:00
2012-05-11 13:36:34 -07:00
2012-05-17 12:22:39 -07:00
2012-05-31 15:03:17 -07:00
2012-01-11 11:37:55 -08:00
2012-06-04 17:07:15 -07:00
2012-06-07 09:59:55 -07:00
2012-04-26 13:57:19 -07:00
2012-05-08 12:03:49 -07:00
2012-05-17 10:26:16 +08:00
2011-12-07 19:10:02 +00:00
2012-04-19 13:08:58 -07:00
2012-06-22 11:12:40 -07:00
2012-04-19 13:08:58 -07:00
2012-04-19 11:08:28 -07:00
2012-06-04 17:07:15 -07:00
2012-03-16 11:03:13 -07:00
2011-12-07 19:10:02 +00:00
2012-06-07 00:54:02 -07:00
2012-05-26 20:29:54 +08:00
2012-06-07 20:48:51 -07:00
2011-12-07 19:10:02 +00:00
2012-03-06 16:15:30 +08:00
2012-05-30 13:12:34 -07:00
2012-06-20 23:30:02 -07:00
2012-04-06 09:06:53 -07:00
2012-05-29 09:38:58 -07:00
2012-06-08 08:57:35 -07:00
2012-04-05 11:30:16 +08:00
2012-05-14 09:12:50 -07:00
2012-05-28 16:42:17 +08:00
2012-06-07 00:54:02 -07:00
2012-05-09 16:09:10 -07:00
2012-06-22 10:13:36 -07:00
2012-05-22 14:22:13 -07:00
2012-06-07 01:20:16 -07:00
2012-06-15 13:39:22 -07:00
2012-04-24 17:46:54 -07:00