uboot-d1: add bootloader for upcoming d1 target
[openwrt/staging/mans0n.git] / package / boot / uboot-d1 / patches / 0074-disk-sunxi-Replace-ARCH_SUNXI-with-BOARD_SUNXI.patch
1 From 98fb93ceb936b375d7f8f2908f0703a93e27fbc4 Mon Sep 17 00:00:00 2001
2 From: Samuel Holland <samuel@sholland.org>
3 Date: Sat, 6 Aug 2022 00:05:52 -0500
4 Subject: [PATCH 74/90] disk: sunxi: Replace ARCH_SUNXI with BOARD_SUNXI
5
6 This provides a unified configuration across all sunxi boards,
7 regardless of CPU architecture.
8
9 Signed-off-by: Samuel Holland <samuel@sholland.org>
10 ---
11 disk/Kconfig | 6 +++---
12 1 file changed, 3 insertions(+), 3 deletions(-)
13
14 --- a/disk/Kconfig
15 +++ b/disk/Kconfig
16 @@ -61,7 +61,7 @@ config SPL_DOS_PARTITION
17 bool "Enable MS Dos partition table for SPL"
18 depends on SPL
19 default n if ARCH_MVEBU
20 - default n if ARCH_SUNXI
21 + default n if BOARD_SUNXI
22 default y if DOS_PARTITION
23 select SPL_PARTITIONS
24
25 @@ -104,7 +104,7 @@ config EFI_PARTITION
26 config EFI_PARTITION_ENTRIES_NUMBERS
27 int "Number of the EFI partition entries"
28 depends on EFI_PARTITION
29 - default 56 if ARCH_SUNXI
30 + default 56 if BOARD_SUNXI
31 default 128
32 help
33 Specify the number of partition entries in the GPT. This is
34 @@ -132,7 +132,7 @@ config SPL_EFI_PARTITION
35 bool "Enable EFI GPT partition table for SPL"
36 depends on SPL
37 default n if ARCH_MVEBU
38 - default n if ARCH_SUNXI
39 + default n if BOARD_SUNXI
40 default y if EFI_PARTITION
41 select SPL_PARTITIONS
42