ARM: uniphier: fix MODEL field of REVISION register
The MODEL field is 3 bit wide. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
		
							parent
							
								
									4125bbcef6
								
							
						
					
					
						commit
						c5bd411f6c
					
				| 
						 | 
					@ -26,7 +26,7 @@ unsigned int uniphier_get_soc_id(void)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned int uniphier_get_soc_model(void)
 | 
					unsigned int uniphier_get_soc_model(void)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	return __uniphier_get_revision_field(0x3, 8);
 | 
						return __uniphier_get_revision_field(0x7, 8);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
unsigned int uniphier_get_soc_revision(void)
 | 
					unsigned int uniphier_get_soc_revision(void)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue