diff options
| author | Stephan Gerhold <[email protected]> | 2025-04-07 18:59:28 +0200 |
|---|---|---|
| committer | Caleb Connolly <[email protected]> | 2025-04-11 15:32:22 +0200 |
| commit | 39ae0bc73eefd5b71f358eceb393cacfd514056d (patch) | |
| tree | 9743bcb6134b86884a2bcee5bcf16ccd14fa1e59 | |
| parent | 7fde40768c1e14a47025b21c1460aa9c07f0a8ed (diff) | |
board: dragonboard410c: Use dynamically allocated load addresses
The generic Qualcomm board code allocates addresses for loading the kernel,
ramdisk, DT, fastboot etc. This also happens on the DB410c and already
overrides these definitions defined in the default env. So let's just drop
the static ones, since the dynamic ones work just fine.
Signed-off-by: Stephan Gerhold <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Reviewed-by:
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Caleb Connolly <[email protected]>
| -rw-r--r-- | board/qualcomm/dragonboard410c/dragonboard410c.c | 2 | ||||
| -rw-r--r-- | board/qualcomm/dragonboard410c/dragonboard410c.env | 8 |
2 files changed, 2 insertions, 8 deletions
diff --git a/board/qualcomm/dragonboard410c/dragonboard410c.c b/board/qualcomm/dragonboard410c/dragonboard410c.c index b3f9a097e78..83862f117a2 100644 --- a/board/qualcomm/dragonboard410c/dragonboard410c.c +++ b/board/qualcomm/dragonboard410c/dragonboard410c.c @@ -66,7 +66,7 @@ int misc_init_r(void) state = button_get_state(btn); if (state == BUTTON_ON) { - env_set("preboot", "setenv preboot; fastboot 0"); + env_set("preboot", "setenv preboot; run fastboot"); printf("vol_down pressed - Starting fastboot.\n"); } diff --git a/board/qualcomm/dragonboard410c/dragonboard410c.env b/board/qualcomm/dragonboard410c/dragonboard410c.env index eb42c0abcf1..0032dc3592a 100644 --- a/board/qualcomm/dragonboard410c/dragonboard410c.env +++ b/board/qualcomm/dragonboard410c/dragonboard410c.env @@ -1,9 +1,3 @@ /* SPDX-License-Identifier: GPL-2.0+ */ -loadaddr=0x81000000 initrd_high=0xffffffffffffffff -kernel_addr_r=0x81000000 -fdtfile=qcom/apq8016-sbc.dtb -fdt_addr_r=0x83000000 -ramdisk_addr_r=0x84000000 -scriptaddr=0x90000000 -pxefile_addr_r=0x90100000 +fastboot=fastboot -l $fastboot_addr_r usb 0 |
