MIPS: CFE: Add cfe_die()Add a cfe_die() implementation which is useful when the kernel does anearly panic and no console is registered. This allows us to printuseful diagnostics such as an invali
MIPS: CFE: Add cfe_die()Add a cfe_die() implementation which is useful when the kernel does anearly panic and no console is registered. This allows us to printuseful diagnostics such as an invalid DTB having beenconfigured/selected.Since the BMIPS_GENERIC kernel can be built with support for multipleprocessors, we need to do a runtime determination of the type of CPUthat we are executing on to perform the appropriate XKS01 disabling.Since cfe_init() + cfe_die() could be conceivably called at very earlystages of the kernel boot, before cpu_probe(), we do not rely on thestructure(s) populated by cpu_probe().Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
show more ...
MIPS: CFE: Remove dead code in cfe_getfwinfo()This code has been marked dead since the beginning of the git history.Seems no need to keep it now.Signed-off-by: Jason Yan <yanaijie@huawei.com>Si
MIPS: CFE: Remove dead code in cfe_getfwinfo()This code has been marked dead since the beginning of the git history.Seems no need to keep it now.Signed-off-by: Jason Yan <yanaijie@huawei.com>Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of th
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usaextracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-laterhas been chosen to replace the boilerplate/reference in 1334 file(s).Signed-off-by: Thomas Gleixner <tglx@linutronix.de>Reviewed-by: Allison Randal <allison@lohutok.net>Reviewed-by: Richard Fontana <rfontana@redhat.com>Cc: linux-spdx@vger.kernel.orgLink: https://lkml.kernel.org/r/20190527070033.113240726@linutronix.deSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
treewide: Add SPDX license identifier - Makefile/KconfigAdd SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any formThese files fall under the project
treewide: Add SPDX license identifier - Makefile/KconfigAdd SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any formThese files fall under the project license, GPL v2 only. The resulting SPDXlicense identifier is: GPL-2.0-onlySigned-off-by: Thomas Gleixner <tglx@linutronix.de>Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
MIPS: sibyte: Declare the cfe_write() buffer as constantThe write() prototype expects a const char * as argument so declareit as such.Fixes the following build problem:arch/mips/sibyte/common/
MIPS: sibyte: Declare the cfe_write() buffer as constantThe write() prototype expects a const char * as argument so declareit as such.Fixes the following build problem:arch/mips/sibyte/common/cfe_console.c:23:5: error: passing argument 2 of'cfe_write' discards 'const' qualifier from pointer target type [-Werror]arch/mips/sibyte/common/cfe_console.c:34:4: error: passing argument 2 of'cfe_write' makes pointer from integer without a cast [-Werror]Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>Cc: sibyte-users@bitmover.comCc: linux-mips@linux-mips.orgPatchwork: https://patchwork.linux-mips.org/patch/5485/Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
MIPS: Remove useless zero initializations.Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
[MIPS] CFE: Make code remotely resemble Linux code.Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
[MIPS] Move CFE code into arch/mips/fw/cfeMove the platform independent part of the CFE code to arch/mips/fw/cfe fromarch/mips/sibyte/cfe.Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>Sig
[MIPS] Move CFE code into arch/mips/fw/cfeMove the platform independent part of the CFE code to arch/mips/fw/cfe fromarch/mips/sibyte/cfe.Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>Signed-off-by: Ralf Baechle <ralf@linux-mips.org>