Giulio Benetti | d1203ca | 2020-02-18 20:02:55 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright (C) 2020 |
| 4 | * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com> |
| 5 | */ |
| 6 | |
Giulio Benetti | d1203ca | 2020-02-18 20:02:55 +0100 | [diff] [blame] | 7 | #include <config.h> |
| 8 | |
| 9 | /* image version */ |
| 10 | |
| 11 | IMAGE_VERSION 2 |
| 12 | |
| 13 | /* |
| 14 | * Boot Device : one of |
| 15 | * spi/sd/nand/onenand, qspi/nor |
| 16 | */ |
| 17 | |
| 18 | BOOT_FROM sd |
| 19 | |
| 20 | /* |
| 21 | * Device Configuration Data (DCD) |
| 22 | * |
| 23 | * Each entry must have the format: |
| 24 | * Addr-type Address Value |
| 25 | * |
| 26 | * where: |
| 27 | * Addr-type register length (1,2 or 4 bytes) |
| 28 | * Address absolute address of the register |
| 29 | * value value to be stored in the register |
| 30 | */ |
| 31 | |
| 32 | /* Set all FlexRAM as OCRAM(01b) */ |
| 33 | DATA 4 0x400AC044 0x00005555 |
| 34 | /* Use FLEXRAM_BANK_CFG to config FlexRAM */ |
| 35 | SET_BIT 4 0x400AC040 0x4 |