diff options
author | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-05-06 14:58:43 +0200 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2019-05-13 19:17:41 +0200 |
commit | 762361a79c8e1873898bbf9724ac58ede7464832 (patch) | |
tree | da140307620445448a1e298bc96a37f4c9bb10e4 /target/linux/brcm63xx/patches-4.9/309-cfe_version_mod.patch | |
parent | 06403981e1f2daf6bbcf05f5f2d2205d68240861 (diff) | |
download | upstream-762361a79c8e1873898bbf9724ac58ede7464832.tar.gz upstream-762361a79c8e1873898bbf9724ac58ede7464832.tar.bz2 upstream-762361a79c8e1873898bbf9724ac58ede7464832.zip |
brcm63xx: remove kernel 4.9 support
This target got bumped to 4.14 a long time ago
in commit: 2308b87204206d84b6bf3dbc3d72591611cc6b78
Remove all leftover 4.9 files.
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/brcm63xx/patches-4.9/309-cfe_version_mod.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-4.9/309-cfe_version_mod.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/target/linux/brcm63xx/patches-4.9/309-cfe_version_mod.patch b/target/linux/brcm63xx/patches-4.9/309-cfe_version_mod.patch deleted file mode 100644 index fe6c6d2909..0000000000 --- a/target/linux/brcm63xx/patches-4.9/309-cfe_version_mod.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/arch/mips/bcm63xx/boards/board_bcm963xx.c -+++ b/arch/mips/bcm63xx/boards/board_bcm963xx.c -@@ -707,10 +707,20 @@ void __init board_prom_init(void) - - /* dump cfe version */ - cfe = boot_addr + BCM963XX_CFE_VERSION_OFFSET; -- if (!memcmp(cfe, "cfe-v", 5)) -- snprintf(cfe_version, sizeof(cfe_version), "%u.%u.%u-%u.%u", -- cfe[5], cfe[6], cfe[7], cfe[8], cfe[9]); -- else -+ if (strstarts(cfe, "cfe-")) { -+ if(cfe[4] == 'v') { -+ if(cfe[5] == 'd') -+ snprintf(cfe_version, 11, "%s", (char *) &cfe[5]); -+ else if (cfe[10] > 0) -+ snprintf(cfe_version, sizeof(cfe_version), "%u.%u.%u-%u.%u-%u", -+ cfe[5], cfe[6], cfe[7], cfe[8], cfe[9], cfe[10]); -+ else -+ snprintf(cfe_version, sizeof(cfe_version), "%u.%u.%u-%u.%u", -+ cfe[5], cfe[6], cfe[7], cfe[8], cfe[9]); -+ } else { -+ snprintf(cfe_version, 12, "%s", (char *) &cfe[4]); -+ } -+ } else - strcpy(cfe_version, "unknown"); - pr_info("CFE version: %s\n", cfe_version); - |