mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-25 18:18:19 +01:00 
			
		
		
		
	Provide a man-page for the panic command. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Simon Glass <sjg@chromium.org>
		
			
				
	
	
		
			34 lines
		
	
	
		
			405 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			405 B
		
	
	
	
		
			ReStructuredText
		
	
	
	
	
	
| .. SPDX-License-Identifier: GPL-2.0+:
 | |
| 
 | |
| panic command
 | |
| =============
 | |
| 
 | |
| Synopis
 | |
| -------
 | |
| 
 | |
| ::
 | |
| 
 | |
|     panic [message]
 | |
| 
 | |
| Description
 | |
| -----------
 | |
| 
 | |
| Display a message and reset the board.
 | |
| 
 | |
| message
 | |
|     text to be displayed
 | |
| 
 | |
| Examples
 | |
| --------
 | |
| 
 | |
| ::
 | |
| 
 | |
|     => panic 'Unrecoverable error'
 | |
|     Unrecoverable error
 | |
|     resetting ...
 | |
| 
 | |
| Configuration
 | |
| -------------
 | |
| 
 | |
| If CONFIG_PANIC_HANG=y, the user has to reset the board manually.
 |