summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/interface
diff options
context:
space:
mode:
authorMichael Brown2014-01-22 14:22:32 +0100
committerMichael Brown2014-01-22 15:28:49 +0100
commit43c8c272ae2fb17c85275c07bc5fecbf21fe1ab5 (patch)
tree19b53680ffa53765df8b0b178dda630a0565755f /src/arch/i386/interface
parent[vesafb] Allow for an arbitrary margin around the text area (diff)
downloadipxe-43c8c272ae2fb17c85275c07bc5fecbf21fe1ab5.tar.gz
ipxe-43c8c272ae2fb17c85275c07bc5fecbf21fe1ab5.tar.xz
ipxe-43c8c272ae2fb17c85275c07bc5fecbf21fe1ab5.zip
[cmdline] Rename "console" command's --bpp option to --depth
Rename the "--bpp" option to "--depth", to free up the single-letter option "-b" for "--bottom" in preparation for adding margin support. This does not break backwards compatibility with documented features, since the "console" command has not yet been documented. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/interface')
-rw-r--r--src/arch/i386/interface/pcbios/vesafb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/interface/pcbios/vesafb.c b/src/arch/i386/interface/pcbios/vesafb.c
index d4a7287a8..2adc7b040 100644
--- a/src/arch/i386/interface/pcbios/vesafb.c
+++ b/src/arch/i386/interface/pcbios/vesafb.c
@@ -419,7 +419,7 @@ static int vesafb_init ( struct console_configuration *config ) {
/* Select mode */
if ( ( mode_number = vesafb_select_mode ( mode_numbers, config->width,
config->height,
- config->bpp ) ) < 0 ) {
+ config->depth ) ) < 0 ) {
rc = mode_number;
goto err_select_mode;
}