[U-Boot] [PATCH v3 1/4] rpi: push fw_dtb_pointer in the .data section

2019-11-12 Thread matthias . bgg
From: Matthias Brugger The fw_dtb_pointer was defined in the assembly code, which makes him live in section .text_rest Put that's not necessary, we can push the variable in the .data section. This will prevent relocation errors like: board/raspberrypi/rpi/rpi.c:317:(.text.board_get_usable_ram_to

Re: [U-Boot] [PATCH v3 1/4] rpi: push fw_dtb_pointer in the .data section

2019-11-12 Thread Alexander Graf
On 12.11.19 13:00, matthias@kernel.org wrote: From: Matthias Brugger The fw_dtb_pointer was defined in the assembly code, which makes him live in section .text_rest Put that's not necessary, we can push the variable in the .data section. This will prevent relocation errors like: board/ras

Re: [U-Boot] [PATCH v3 1/4] rpi: push fw_dtb_pointer in the .data section

2019-11-12 Thread Matthias Brugger
On 12/11/2019 13:20, Alexander Graf wrote: > > On 12.11.19 13:00, matthias@kernel.org wrote: >> From: Matthias Brugger >> >> The fw_dtb_pointer was defined in the assembly code, which makes him >> live in section .text_rest >> Put that's not necessary, we can push the variable in the .data