ppc4xx: Enable 64bit printf format on 440/460 platforms
This patch defines CFG_64BIT_VSPRINTF and CFG_64BIT_STRTOUL for all 440/460 platforms. This may be needed since those platforms support 36bit physical address space. Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
		
							parent
							
								
									66fe183b1d
								
							
						
					
					
						commit
						1092fbd647
					
				| 
						 | 
					@ -46,6 +46,12 @@
 | 
				
			||||||
#endif
 | 
					#endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#if defined(CONFIG_440)
 | 
					#if defined(CONFIG_440)
 | 
				
			||||||
 | 
					/*
 | 
				
			||||||
 | 
					 * Enable long long (%ll ...) printf format on 440 PPC's since most of
 | 
				
			||||||
 | 
					 * them support 36bit physical addressing
 | 
				
			||||||
 | 
					 */
 | 
				
			||||||
 | 
					#define CFG_64BIT_VSPRINTF
 | 
				
			||||||
 | 
					#define CFG_64BIT_STRTOUL
 | 
				
			||||||
#include <ppc440.h>
 | 
					#include <ppc440.h>
 | 
				
			||||||
#else
 | 
					#else
 | 
				
			||||||
#include <ppc405.h>
 | 
					#include <ppc405.h>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue