| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #include <bootsplash.h> |
| 4 | #include <vendorcode/google/chromeos/chromeos.h> |
| 5 | |
| 6 | const char *bmp_logo_filename(void) |
| 7 | { |
| 8 | /* |
| 9 | * If the device has a custom boot splash footer logo (SPLASH_SCREEN_FOOTER Kconfig |
| 10 | * is enabled and a logo path is provided), we only return the main OEM logo, which |
| 11 | * will be displayed in the center of the splash screen. |
| 12 | */ |
| 13 | if (CONFIG(SPLASH_SCREEN_FOOTER)) |
| 14 | return "cb_logo.bmp"; |
| 15 | |
| 16 | if (chromeos_device_branded_plus_hard() || chromeos_device_branded_plus_soft()) |
| 17 | return "cb_plus_logo.bmp"; |
| 18 | |
| 19 | return "cb_logo.bmp"; |
| 20 | } |