mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 12:08:19 +00:00 
			
		
		
		
	Move an OEM closing logic to ahab_close() function to be able to use it directly without calling a u-boot command. Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io> Co-developed-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io> Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
		
			
				
	
	
		
			33 lines
		
	
	
		
			826 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			826 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0+ */
 | |
| /*
 | |
|  * Copyright 2018 NXP
 | |
|  */
 | |
| 
 | |
| #include <firmware/imx/sci/sci.h>
 | |
| #include <asm/mach-imx/sys_proto.h>
 | |
| #include <asm/arch/power-domain.h>
 | |
| #include <dm/platdata.h>
 | |
| #include <dm/device-internal.h>
 | |
| #include <dm/device.h>
 | |
| #include <power-domain.h>
 | |
| #include <linux/types.h>
 | |
| 
 | |
| struct pass_over_info_t {
 | |
| 	u16 barker;
 | |
| 	u16 len;
 | |
| 	u32 g_bt_cfg_shadow;
 | |
| 	u32 card_address_mode;
 | |
| 	u32 bad_block_count_met;
 | |
| 	u32 g_ap_mu;
 | |
| };
 | |
| 
 | |
| extern unsigned long boot_pointer[];
 | |
| void build_info(void);
 | |
| int ahab_close(void);
 | |
| int print_bootinfo(void);
 | |
| int sc_pm_setup_uart(sc_rsrc_t uart_rsrc, sc_pm_clock_rate_t clk_rate);
 | |
| int imx8_power_domain_lookup_name(const char *name,
 | |
| 				  struct power_domain *power_domain);
 | |
| void imx8_power_off_pd_devices(const char *permanent_on_devices[], int size);
 | |
| bool m4_parts_booted(void);
 |