diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2019-05-02 16:29:12 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-05-05 15:48:50 +0300 |
commit | 2455efa2eac0b98f75ceef9b53074b204cdc9733 (patch) | |
tree | cf5d6ddd0747a6b931d2b3886782ee052f509083 | |
parent | 95468e6c9bfc8a552ec3681dacb666ef854f21cf (diff) | |
download | u-boot-2455efa2eac0b98f75ceef9b53074b204cdc9733.tar.xz |
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: Marek BehĂșn <marek.behun@nic.cz>
-rw-r--r-- | cmd/pxe.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -24,6 +24,9 @@ const char *pxe_default_paths[] = { #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, #endif "default-" CONFIG_SYS_ARCH, |