blob: b5faf96b00a63daaf3fbc4e8153d1de13113176d [file] [log] [blame]
Ralph Siemsenafdfcb12023-05-12 21:36:57 -04001# SPDX-License-Identifier: GPL-2.0+
2#
3# (C) Copyright 2022 Schneider Electric
4#
5# SPKG image header, for booting on RZ/N1
6
7# b[35:32] SPKG version
8VERSION 1
9
10# b[42:41] ECC Block size: 0=256 bytes, 1=512 bytes, 2=1024 bytes
11NAND_ECC_BLOCK_SIZE 1
12
13# b[45] NAND enable (boolean)
14NAND_ECC_ENABLE 1
15
16# b[50:48] ECC Scheme: 0=BCH2 1=BCH4 2=BCH8 3=BCH16 4=BCH24 5=BCH32
17NAND_ECC_SCHEME 3
18
19# b[63:56] ECC bytes per block
20NAND_BYTES_PER_ECC_BLOCK 28
21
22# Provide dummy BLp header (boolean)
23ADD_DUMMY_BLP 1
24
25# Pad the image to a multiple of
26PADDING 64K