diff options
author | Tom Rini <trini@konsulko.com> | 2023-08-09 13:15:51 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-09 13:15:51 -0400 |
commit | 321d7b4d875a77552a969dd6ea5bbed2644fcb0c (patch) | |
tree | df15c6c203dcdd35fe15f7dae4ff024f82d5a618 /drivers/ddr/imx/phy | |
parent | 1e1437d9f8b5be362afdd0212dbae6c41f53f3d8 (diff) | |
parent | 06b51f77f5be60200a5f0037509c191b102e5e00 (diff) |
Merge branch '2023-08-09-misc-cleanups' into next
- Rework the arch linker scripts to be consistent for all, support
Kconfig fragments in the board directory and fix some Kconfig options
that were hex-type by default of 0 not 0x0.
Diffstat (limited to 'drivers/ddr/imx/phy')
-rw-r--r-- | drivers/ddr/imx/phy/helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ddr/imx/phy/helper.c b/drivers/ddr/imx/phy/helper.c index 8cd438791e..855a874ac1 100644 --- a/drivers/ddr/imx/phy/helper.c +++ b/drivers/ddr/imx/phy/helper.c @@ -46,13 +46,13 @@ void ddr_load_train_firmware(enum fw_type type) u32 error = 0; unsigned long pr_to32, pr_from32; uint32_t fw_offset = type ? IMEM_2D_OFFSET : 0; - unsigned long imem_start = (unsigned long)&_end + fw_offset; + unsigned long imem_start = (unsigned long)_end + fw_offset; unsigned long dmem_start; unsigned long imem_len = IMEM_LEN, dmem_len = DMEM_LEN; #ifdef CONFIG_SPL_OF_CONTROL if (gd->fdt_blob && !fdt_check_header(gd->fdt_blob)) { - imem_start = roundup((unsigned long)&_end + + imem_start = roundup((unsigned long)_end + fdt_totalsize(gd->fdt_blob), 4) + fw_offset; } |