[PATCH v2 1/1] xilinx: zynq: add FDT_FIXUP_PARTITIONS support

Michal Simek michal.simek at amd.com
Wed Apr 3 15:27:59 CEST 2024



On 4/2/24 17:37, James Hilliard wrote:
> On Tue, Apr 2, 2024 at 6:41 AM Michal Simek <michal.simek at amd.com> wrote:
>>
>>
>>
>> On 4/1/24 01:28, James Hilliard wrote:
>>> There are situations where we may want to let U-Boot modify the FDT
>>> nand partitions for the kernel, such as when supporting multiple
>>> sizes of NAND chips.
>>>
>>> Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
>>> ---
>>> Changes v1 -> v2:
>>>     - move partition fixups to board/xilinx/common/board.c
>>> ---
>>>    board/xilinx/common/board.c | 9 +++++++++
>>>    1 file changed, 9 insertions(+)
>>>
>>> diff --git a/board/xilinx/common/board.c b/board/xilinx/common/board.c
>>> index 9641ed307b..20a6f00e45 100644
>>> --- a/board/xilinx/common/board.c
>>> +++ b/board/xilinx/common/board.c
>>> @@ -12,6 +12,7 @@
>>>    #include <env.h>
>>>    #include <image.h>
>>>    #include <init.h>
>>> +#include <jffs2/load_kernel.h>
>>
>> What is this header used for?
> 
> It's needed for MTD_DEV_TYPE_NAND.

Location is weird. Anyway applied.

Thanks,
Michal


More information about the U-Boot mailing list