Skip to contentSkip to conversation

MIPS: actually use CONFIG_MIPS_RELOCATION_TABLE_SIZE

PATCH Applied Antony Pavlov 2 participants 2 messages Jan 15, 2020 – Jan 16, 2020 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: actually use CONFIG_MIPS_RELOCATION_TABLE_SIZE

The commit 28ed10d6a67c9 ("MIPS: relocation: add relocation support") introduce the Kconfig CONFIG_MIPS_RELOCATION_TABLE_SIZE parameter but it is never used.

---
 arch/mips/lib/barebox.lds.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/lib/barebox.lds.S +1 -1
index e96c3bf6e2..693a778980 100644
@@ -54,7 +54,7 @@ SECTIONS
 	.data.reloc : {
 		__rel_start = .;
 		BYTE(0x0)
-		. += (32 * 1024) - 1;
+		. += CONFIG_MIPS_RELOCATION_TABLE_SIZE - 1;
 	}
 
 	_end = .;
Signature · 7 lines
2.24.0


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#1 lore raw
Quoted 8 lines · Antony Pavlov

The commit 28ed10d6a67c9 ("MIPS: relocation: add relocation support") introduce the Kconfig CONFIG_MIPS_RELOCATION_TABLE_SIZE parameter but it is never used.

---
 arch/mips/lib/barebox.lds.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox