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>
This commit is contained in:
Zheng Bao 2012-09-11 12:13:39 +08:00 committed by Patrick Georgi
parent cf8bcfc9dd
commit 534e61c4e6
1 changed files with 1 additions and 0 deletions

View File

@ -55,6 +55,7 @@ void select_hal(hal_t hal, void *data)
break;
#endif
case HAL_MEMORY:
default:
current_access = &memory_hal;
break;
}