Date: Sun, 24 Jun 2018 23:19:32 +0000 (UTC) From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r335611 - head/sys/arm/broadcom/bcm2835 Message-ID: <201806242319.w5ONJWpG050783@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gonzo Date: Sun Jun 24 23:19:31 2018 New Revision: 335611 URL: https://svnweb.freebsd.org/changeset/base/335611 Log: [rpi] Fix compatiblity with upstream DTB for RPi 3B and 3B+ Upstream dtb switched to using brcm,bcm2837 for platform compatibility string. Patch platfrom and cpufreq compatiblity data accordingly. Submitted by: Sylvain Garrigues <sylgar@gmail.com> Tested by: db@ Differential Revision: https://reviews.freebsd.org/D15998 Modified: head/sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c ============================================================================== --- head/sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c Sun Jun 24 21:46:29 2018 (r335610) +++ head/sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c Sun Jun 24 23:19:31 2018 (r335611) @@ -127,6 +127,7 @@ static struct ofw_compat_data compat_data[] = { { "broadcom,bcm2708-vc", 1 }, { "brcm,bcm2709", 1 }, { "brcm,bcm2836", 1 }, + { "brcm,bcm2837", 1 }, { NULL, 0 } }; Modified: head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c ============================================================================== --- head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c Sun Jun 24 21:46:29 2018 (r335610) +++ head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c Sun Jun 24 23:19:31 2018 (r335611) @@ -154,4 +154,5 @@ static platform_method_t bcm2836_methods[] = { }; FDT_PLATFORM_DEF2(bcm2836, bcm2836_legacy, "bcm2836 (legacy)", 0, "brcm,bcm2709", 100); FDT_PLATFORM_DEF2(bcm2836, bcm2836, "bcm2836", 0, "brcm,bcm2836", 100); +FDT_PLATFORM_DEF2(bcm2836, bcm2837, "bcm2837", 0, "brcm,bcm2837", 100); #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806242319.w5ONJWpG050783>