diff options
author | Zheng Bao <fishbaozi@gmail.com> | 2012-09-11 12:13:39 +0800 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-09-11 08:32:30 +0200 |
commit | 534e61c4e6eb10deeaaebd0ead88ffe36c439927 (patch) | |
tree | 2a735fc23a906841a084baf1b86f7a7686002f39 /util | |
parent | cf8bcfc9dd0dd4093ab9ce65be8bbdb242959f15 (diff) | |
download | coreboot-534e61c4e6eb10deeaaebd0ead88ffe36c439927.tar.xz |
nvramtool: Remove the building warning on older gcc
Some older gcc requires the default entry in switch, otherwise
build warning "enumeration value not handled in switch" will come
up.
Change-Id: Ic8ea9960e4aca599e0ea62ec345122c9df57e766
Signed-off-by: Zheng Bao <zheng.bao@amd.com>
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/1501
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'util')
-rw-r--r-- | util/nvramtool/cmos_lowlevel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/nvramtool/cmos_lowlevel.c b/util/nvramtool/cmos_lowlevel.c index 55b1879ff0..ef0c3832b1 100644 --- a/util/nvramtool/cmos_lowlevel.c +++ b/util/nvramtool/cmos_lowlevel.c @@ -55,6 +55,7 @@ void select_hal(hal_t hal, void *data) break; #endif case HAL_MEMORY: + default: current_access = &memory_hal; break; } |