Ralph Siemsen | 2d283fa | 2023-05-12 21:36:57 -0400 | [diff] [blame] | 1 | # 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 |
| 8 | VERSION 1 |
| 9 | |
| 10 | # b[42:41] ECC Block size: 0=256 bytes, 1=512 bytes, 2=1024 bytes |
| 11 | NAND_ECC_BLOCK_SIZE 1 |
| 12 | |
| 13 | # b[45] NAND enable (boolean) |
| 14 | NAND_ECC_ENABLE 1 |
| 15 | |
| 16 | # b[50:48] ECC Scheme: 0=BCH2 1=BCH4 2=BCH8 3=BCH16 4=BCH24 5=BCH32 |
| 17 | NAND_ECC_SCHEME 3 |
| 18 | |
| 19 | # b[63:56] ECC bytes per block |
| 20 | NAND_BYTES_PER_ECC_BLOCK 28 |
| 21 | |
| 22 | # Provide dummy BLp header (boolean) |
| 23 | ADD_DUMMY_BLP 1 |
| 24 | |
| 25 | # Pad the image to a multiple of |
| 26 | PADDING 64K |