libpayload: Fix libpayload build compilation warnings
When emerging libpayload a warning is generated about selfboot() being defined without a prior prototype. Add cbfs.h when CBFS use if compiled fixes the warning. BUG=none TEST=build rambi storm nyan_big verify that there is no compilation warnings thrown any more Original-Change-Id: Ic9cb5571f708bb006a0d477e451fd1f3b3eb833f Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/200099 Original-Reviewed-by: Hung-Te Lin <hungte@chromium.org> (cherry picked from commit 7e4aa17936b70dd08f58b3a55c6db55ea03709d7) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Change-Id: Ie3baaaca82fb6ec432860c638acb2a3ef9451469 Reviewed-on: http://review.coreboot.org/7909 Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Tested-by: build bot (Jenkins)
This commit is contained in:
		
				
					committed by
					
						 Marc Jones
						Marc Jones
					
				
			
			
				
	
			
			
			
						parent
						
							6f98fc30fd
						
					
				
				
					commit
					db10dc797b
				
			| @@ -60,6 +60,9 @@ | ||||
| #ifdef CONFIG_LP_LAR | ||||
| #include <lar.h> | ||||
| #endif | ||||
| #ifdef CONFIG_LP_CBFS | ||||
| #include <cbfs.h> | ||||
| #endif | ||||
|  | ||||
| #define MIN(a,b) ((a) < (b) ? (a) : (b)) | ||||
| #define MAX(a,b) ((a) > (b) ? (a) : (b)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user