summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbconsole.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2015-11-13 09:13:12 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-11-13 09:14:48 +0100
commit314b5402d9f90e4be4be2bbe7c0072876f70281c (patch)
tree5e8623d40257191df7b6f9e7467e15ab067d1338 /drivers/video/fbconsole.c
parent3eeac4d2abf64452e0aec723704f1566e020a60e (diff)
downloadbarebox-314b5402d9f90e4be4be2bbe7c0072876f70281c.tar.gz
barebox-314b5402d9f90e4be4be2bbe7c0072876f70281c.tar.xz
fbconsole: register fonts dynamically
Instead of having a fixed array of fonts register the fonts dynamically. This allows easier adding of fonts to the tree since only one file per font has to be added and no other files modified. Currently we have to register the fonts very early before the first framebuffer is registered. This is because of our limited dev_add_param_enum() which wants to know the number of elements when called, so we can't add elements once after we've called dev_add_param_enum(). Maybe a dev_add_param_array() has to be created whithout this limitation, but that's left for a future exercise. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/video/fbconsole.c')
0 files changed, 0 insertions, 0 deletions