mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	serial: Support info() method in ns16550 xPL with UPL
UPL needs to pass the serial details onto the next stage, so adjust the condition to support this. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		
							parent
							
								
									8b89d90146
								
							
						
					
					
						commit
						4219fd9a70
					
				| @ -464,7 +464,7 @@ int ns16550_serial_getinfo(struct udevice *dev, struct serial_device_info *info) | ||||
| 	struct ns16550_plat *plat = com_port->plat; | ||||
| 
 | ||||
| 	/* save code size */ | ||||
| 	if (!not_xpl()) | ||||
| 	if (!not_xpl() && !CONFIG_IS_ENABLED(UPL_OUT)) | ||||
| 		return -ENOSYS; | ||||
| 
 | ||||
| 	info->type = SERIAL_CHIP_16550_COMPATIBLE; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user