From: Aaro Koskinen Date: Fri, 1 Nov 2013 15:06:04 +0000 (+0200) Subject: MIPS: cavium-octeon: fix early boot hang on EBH5600 board X-Git-Tag: v3.14-rc1~37^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2e4f1560f7388f8157dd2c828211abbfad0e806;p=pandora-kernel.git MIPS: cavium-octeon: fix early boot hang on EBH5600 board The boot hangs early on EBH5600 board when octeon_fdt_pip_iface() is trying enumerate a non-existant interface. The actual hang happens in cvmx_helper_interface_get_mode(): mode.u64 = cvmx_read_csr(CVMX_GMXX_INF_MODE(interface)); when interface == 4. We can avoid this situation by first checking that the interface exists in the DTB. Signed-off-by: Aaro Koskinen Acked-by: David Daney Signed-off-by: John Crispin Patchwork: http://patchwork.linux-mips.org/patch/6101/ --- Reading git-diff-tree failed