hw/vexpress: Pass proc_id via VEDBoardInfo
commitcdef10bb9373c2c22c517a4deef2363c7ebd5d48
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Mar 2013 16:41:56 +0000 (15 16:41 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 15 Mar 2013 16:41:56 +0000 (15 16:41 +0000)
tree5093853691769278b1c11592c1d51d24d745ba40
parentdc0b0616f726956001be09e9a65a6e0b0bd939db
hw/vexpress: Pass proc_id via VEDBoardInfo

Pass the daughterboard-specific proc_id property to the code that
creates the sysctl device via the VEDBoardInfo struct, rather than
by having the daughterboard init function write to a uint32_t*
argument. This is a cleaner way to pass the info around, and
is in line with the way we are going to handle voltage and
oscillator initialization.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/vexpress.c