brcm2708: add Raspberry Pi 3 support
[openwrt.git] / target / linux / brcm2708 / base-files / lib / brcm2708.sh
index cb4089d..5a59a28 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright (C) 2015 OpenWrt.org
+# Copyright (C) 2015-2016 OpenWrt.org
 
 ifname=""
 
@@ -21,6 +21,9 @@ brcm2708_detect() {
        "Raspberry Pi 2 Model B Rev"*)
                board_name="rpi-2-b"
                ;;
+       "Raspberry Pi 3 Model B Rev"*)
+               board_name="rpi-3-b"
+               ;;
        *)
                board_name="unknown"
                ;;