[LinuxBIOS] [PATCH] SPD functions refactoring