summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/octeon/patches/001-handle_removal_h_constraint.patch4
-rw-r--r--target/linux/octeon/patches/003_pci_pcie_support.patch2
2 files changed, 3 insertions, 3 deletions
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 b0ec076ab..ea19508ce 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 <ddaney@caviumnetworks.com>
--- 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 79009a6c9..32ba634c3 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 <ddaney@caviumnetworks.com>
--- 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