Эх сурвалжийг харах

soc: versatile: add support for the PB11MPCore

The SoC driver needs a minor update to display the correct
sysfs information for the PB11MPCore.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Linus Walleij 10 жил өмнө
parent
commit
5d87f7a314

+ 4 - 0
drivers/soc/versatile/soc-realview.c

@@ -36,6 +36,8 @@ static const char *realview_board_str(u32 id)
 	switch ((id >> 16) & 0xfff) {
 	switch ((id >> 16) & 0xfff) {
 	case 0x0147:
 	case 0x0147:
 		return "HBI-0147";
 		return "HBI-0147";
+	case 0x0159:
+		return "HBI-0159";
 	default:
 	default:
 		return "Unknown";
 		return "Unknown";
 	}
 	}
@@ -44,6 +46,8 @@ static const char *realview_board_str(u32 id)
 static const char *realview_arch_str(u32 id)
 static const char *realview_arch_str(u32 id)
 {
 {
 	switch ((id >> 8) & 0xf) {
 	switch ((id >> 8) & 0xf) {
+	case 0x04:
+		return "AHB";
 	case 0x05:
 	case 0x05:
 		return "Multi-layer AXI";
 		return "Multi-layer AXI";
 	default:
 	default: