CONFIG_BOARD_SPEAR310_EVB is not available for thedefaultarchitecture x86.
Result is shown for architecture arm

SPEAr310 Evaluation Board

modulename: spear310_evb.ko

configname: CONFIG_BOARD_SPEAR310_EVB

Linux Kernel Configuration
└─>SPEAr3xx Implementations
└─>SPEAr310 Evaluation Board
In linux kernel since version 2.6.35 (release Date: 2010-08-01)  
Supports ST SPEAr310 Evaluation Board

source code: