platforms/astbmc: Introduce slot_init_info() helper function
platforms/astbmc: Introduce slot_init_info() helper function

This moves the logic initializing PCI slot to helper function
slot_info_info() so that it can be reused by subsequent patch
supporting dynamic PCI slot creation. No functional changes
introduced.

Signed-off-by: Gavin Shan <0398910e4f4970259b451f0f9d0686cc5e961b81@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <ec31ab75ddf977353c8f660f92ea8b23f64aef25@linux.vnet.ibm.com>

qemu/skiboot,legoater/skiboot,mikey/skiboot,shenki/skiboot,mikey/skiboot,open-power/skiboot,legoater/skiboot,shenki/skiboot,shenki/skiboot,legoater/skiboot,legoater/skiboot,shenki/skiboot,stewart-ibm/skiboot,qemu/skiboot,qemu/skiboot,open-power/skiboot,stewart-ibm/skiboot,open-power/skiboot,mikey/skiboot,open-power/skiboot,open-power/skiboot,qemu/skiboot,qemu/skiboot,legoater/skiboot,shenki/skiboot,stewart-ibm/skiboot