[ARM] mv78xx0: distinguish between different chip steppings
During boot, identify which chip stepping we're running on (determined by looking at the first PCIe unit's device ID and revision registers), and print a message with the details about what we found. Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
This commit is contained in:

committed by
Nicolas Pitre

parent
12f4815b42
commit
cfdeb6376e
@@ -29,6 +29,8 @@ void mv78xx0_setup_pcie_io_win(int window, u32 base, u32 size,
|
||||
void mv78xx0_setup_pcie_mem_win(int window, u32 base, u32 size,
|
||||
int maj, int min);
|
||||
|
||||
void mv78xx0_pcie_id(u32 *dev, u32 *rev);
|
||||
|
||||
void mv78xx0_ehci0_init(void);
|
||||
void mv78xx0_ehci1_init(void);
|
||||
void mv78xx0_ehci2_init(void);
|
||||
|
Reference in New Issue
Block a user