diff --git a/target/linux/octeon/patches/001-handle_removal_h_constraint.patch b/target/linux/octeon/patches/001-handle_removal_h_constraint.patch index b0ec076ab0..ea19508ce7 100644 --- a/target/linux/octeon/patches/001-handle_removal_h_constraint.patch +++ b/target/linux/octeon/patches/001-handle_removal_h_constraint.patch @@ -11,8 +11,8 @@ Signed-off-by: David Daney --- a/arch/mips/include/asm/compiler.h +++ b/arch/mips/include/asm/compiler.h -@@ -26,4 +26,11 @@ typedef u64 uintx_t; - #endif +@@ -16,4 +16,11 @@ + #define GCC_REG_ACCUM "accum" #endif +#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 4) diff --git a/target/linux/octeon/patches/003_pci_pcie_support.patch b/target/linux/octeon/patches/003_pci_pcie_support.patch index 79009a6c9b..32ba634c38 100644 --- a/target/linux/octeon/patches/003_pci_pcie_support.patch +++ b/target/linux/octeon/patches/003_pci_pcie_support.patch @@ -40,7 +40,7 @@ Signed-off-by: David Daney --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig -@@ -617,6 +617,8 @@ config CAVIUM_OCTEON_REFERENCE_BOARD +@@ -618,6 +618,8 @@ config CAVIUM_OCTEON_REFERENCE_BOARD select SYS_HAS_EARLY_PRINTK select SYS_HAS_CPU_CAVIUM_OCTEON select SWAP_IO_SPACE