fdt: Correct condition for SEPARATE_BSS
This may have different settings for SPL and TPL. Correct the condition. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		
							parent
							
								
									99aca9efe1
								
							
						
					
					
						commit
						690af71850
					
				|  | @ -1227,7 +1227,7 @@ static void *fdt_find_separate(void) | ||||||
| 
 | 
 | ||||||
| #ifdef CONFIG_SPL_BUILD | #ifdef CONFIG_SPL_BUILD | ||||||
| 	/* FDT is at end of BSS unless it is in a different memory region */ | 	/* FDT is at end of BSS unless it is in a different memory region */ | ||||||
| 	if (IS_ENABLED(CONFIG_SPL_SEPARATE_BSS)) | 	if (CONFIG_IS_ENABLED(SEPARATE_BSS)) | ||||||
| 		fdt_blob = (ulong *)&_image_binary_end; | 		fdt_blob = (ulong *)&_image_binary_end; | ||||||
| 	else | 	else | ||||||
| 		fdt_blob = (ulong *)&__bss_end; | 		fdt_blob = (ulong *)&__bss_end; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue