diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2015-10-14 09:41:02 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-10-27 15:22:53 +0100 |
commit | dcc63b6cb7dc60035235a97fd7bab51ed956ff54 (patch) | |
tree | f77b9c4e3262cd5a943351bf08f942d1dd4485cc /payloads/libpayload/drivers/video | |
parent | 20b790704155f6af8306156c450c8ca029763acd (diff) |
cbgfx: remove load_bitmap
load_bitmap is no longer needed.
BUG=none
BRANCH=master
TEST=Tested on Samus
CQ-DEPEND=CL:305589
Change-Id: I4e598ade20a5d49850f9ad0f13681ea5d16cd8c7
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Original-Commit-Id: 125bbc98195cbb8378ba0e4c7fece85ffca4cdfa
Original-Change-Id: I64d685f7a6367b03455ae2a206b9936613614a24
Original-Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/305517
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/11930
Tested-by: build bot (Jenkins)
Diffstat (limited to 'payloads/libpayload/drivers/video')
-rw-r--r-- | payloads/libpayload/drivers/video/graphics.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/payloads/libpayload/drivers/video/graphics.c b/payloads/libpayload/drivers/video/graphics.c index 52c003511c..167433b596 100644 --- a/payloads/libpayload/drivers/video/graphics.c +++ b/payloads/libpayload/drivers/video/graphics.c @@ -149,20 +149,6 @@ static int cbgfx_init(void) return 0; } -void *load_bitmap(const char *name, size_t *size) -{ - static struct cbfs_media media; - static int cbfs_media_initialized = 0; - if (!cbfs_media_initialized) { - if (init_default_cbfs_media(&media)) { - printf("Failed to initialize default media\n"); - return NULL; - } - } - cbfs_media_initialized = 1; - return cbfs_get_file_content(&media, name, CBFS_TYPE_RAW, size); -} - int draw_box(const struct rect *box, const struct rgb_color *rgb) { struct vector top_left; |