Commit 2455efa2 authored by Marek Behún's avatar Marek Behún Committed by Tom Rini
Browse files

cmd: pxe: add board specific PXE default path



The list of PXE default paths contains ARCH and SOC specific paths, but
one PXE server can serve different board with the same ARCH and SOC.
This is the case for Turris Omnia and Turris Mox, where ARCH=arm and
SOC=mvebu.

If CONFIG_SYS_BOARD is defined, also try "default-$ARCH-$SOC-$BOARD"
path.
Signed-off-by: default avatarMarek Behún <marek.behun@nic.cz>
parent 95468e6c
...@@ -24,6 +24,9 @@ ...@@ -24,6 +24,9 @@
const char *pxe_default_paths[] = { const char *pxe_default_paths[] = {
#ifdef CONFIG_SYS_SOC #ifdef CONFIG_SYS_SOC
#ifdef CONFIG_SYS_BOARD
"default-" CONFIG_SYS_ARCH "-" CONFIG_SYS_SOC "-" CONFIG_SYS_BOARD,
#endif
"default-" CONFIG_SYS_ARCH "-" CONFIG_SYS_SOC, "default-" CONFIG_SYS_ARCH "-" CONFIG_SYS_SOC,
#endif #endif
"default-" CONFIG_SYS_ARCH, "default-" CONFIG_SYS_ARCH,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment