On Sat, Dec 7, 2019 at 12:50 PM Simon Glass <s...@chromium.org> wrote: > > Reduce the size of the probe function but putting this code into its own > function. > > Also remove the assumption that the PCH is always a parent of the SPI > controller, as this is not the case APL platforms. Use driver model to > find the PCH instead. > > Signed-off-by: Simon Glass <s...@chromium.org> > Reviewed-by: Bin Meng <bmeng...@gmail.com> > --- > > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > drivers/spi/ich.c | 63 ++++++++++++++++++++++++++++++++--------------- > drivers/spi/ich.h | 1 + > 2 files changed, 44 insertions(+), 20 deletions(-) >
applied to u-boot-x86/next, thanks!