mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-16 03:41:26 +00:00
* Initial commit for kernel boot splash * Add startup files to disable bootlog when system is up / down * Update logo, remove deprecated one * Introduce new u-boot variable bootlogo * Adjust kernel config * Make logo possible on Odroid XU4 - add legacy and current upstream patches - delete xu4 environment since its not used * Cleanup C2,C4, both tested, logo works on mainline, - adding legacy upstream patches for c4 * Enable bootlogo by default on Odroid N2 * Enable logo on RK3399 desktop images * Cleanup the rest of the environment files * Add initrd hook that copy splash file to initrd. * Missing logo bits for one boot scripts * Enable boot logo on Pinebook A64 * Enable bootlogo on Teres * Update config
21 lines
588 B
Diff
21 lines
588 B
Diff
diff --git a/drivers/tty/sysrq.c b/drivers/tty/sysrq.c
|
|
index 3ffc1ce29023..bc6a24c9dfa8 100644
|
|
--- a/drivers/tty/sysrq.c
|
|
+++ b/drivers/tty/sysrq.c
|
|
@@ -49,6 +49,7 @@
|
|
#include <linux/syscalls.h>
|
|
#include <linux/of.h>
|
|
#include <linux/rcupdate.h>
|
|
+#include <linux/bootsplash.h>
|
|
|
|
#include <asm/ptrace.h>
|
|
#include <asm/irq_regs.h>
|
|
@@ -104,6 +105,8 @@ static void sysrq_handle_SAK(int key)
|
|
{
|
|
struct work_struct *SAK_work = &vc_cons[fg_console].SAK_work;
|
|
schedule_work(SAK_work);
|
|
+
|
|
+ bootsplash_disable();
|
|
}
|
|
static struct sysrq_key_op sysrq_SAK_op = {
|
|
.handler = sysrq_handle_SAK,
|