summaryrefslogtreecommitdiff
path: root/config/u-boot/x86_64/patches/0006-i-made-it-purple.patch
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-12-04 20:14:59 +0000
committerLeah Rowe <leah@libreboot.org>2024-12-04 20:14:59 +0000
commitbef2890233e8fcd96249671185a44732f79215fe (patch)
tree918d03ec7bfa3a8e9160f84cd65722c578af5cee /config/u-boot/x86_64/patches/0006-i-made-it-purple.patch
parent965f9bd03351c9809b7074ae85dfbecb3e37e548 (diff)
i made u-boot purple
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'config/u-boot/x86_64/patches/0006-i-made-it-purple.patch')
-rw-r--r--config/u-boot/x86_64/patches/0006-i-made-it-purple.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/config/u-boot/x86_64/patches/0006-i-made-it-purple.patch b/config/u-boot/x86_64/patches/0006-i-made-it-purple.patch
new file mode 100644
index 00000000..594a1b35
--- /dev/null
+++ b/config/u-boot/x86_64/patches/0006-i-made-it-purple.patch
@@ -0,0 +1,33 @@
+From 9c1ceb5a5b302275da146149001f4210a1d7fc86 Mon Sep 17 00:00:00 2001
+From: Leah Rowe <info@minifree.org>
+Date: Wed, 4 Dec 2024 20:13:42 +0000
+Subject: [PATCH 1/1] i made it purple
+
+Signed-off-by: Leah Rowe <info@minifree.org>
+---
+ boot/expo.c | 7 ++-----
+ 1 file changed, 2 insertions(+), 5 deletions(-)
+
+diff --git a/boot/expo.c b/boot/expo.c
+index ed01483f1d..04726d1c9a 100644
+--- a/boot/expo.c
++++ b/boot/expo.c
+@@ -189,13 +189,10 @@ int expo_render(struct expo *exp)
+ struct udevice *dev = exp->display;
+ struct video_priv *vid_priv = dev_get_uclass_priv(dev);
+ struct scene *scn = NULL;
+- enum colour_idx back;
+- u32 colour;
+ int ret;
+
+- back = CONFIG_IS_ENABLED(SYS_WHITE_ON_BLACK) ? VID_BLACK : VID_WHITE;
+- colour = video_index_to_colour(vid_priv, back);
+- ret = video_fill(dev, colour);
++ /* sexy libreboot purple background */
++ ret = video_fill(dev, 0x280b22); /* #280b22 in HTML RGB notation */
+ if (ret)
+ return log_msg_ret("fill", ret);
+
+--
+2.39.5
+