Tony Dinh | c0f94df | 2023-08-25 20:33:29 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * (C) Copyright 2016-2023 Tony Dinh <mibodhi@gmail.com> |
| 4 | * (C) Copyright 2014 Jason Plum <jplum@archlinuxarm.org> |
| 5 | * |
| 6 | * Based on |
| 7 | * Copyright (C) 2012 Peter Schildmann <linux@schildmann.info> |
| 8 | * |
| 9 | * Based on guruplug.h originally written by |
| 10 | * Siddarth Gore <gores@marvell.com> |
| 11 | * (C) Copyright 2009 |
| 12 | * Marvell Semiconductor <www.marvell.com> |
| 13 | */ |
| 14 | |
| 15 | #ifndef _CONFIG_NSA325_H |
| 16 | #define _CONFIG_NSA325_H |
| 17 | |
| 18 | #include "mv-common.h" |
| 19 | |
| 20 | #define KERNEL_ADDR_R __stringify(0x800000) |
| 21 | #define FDT_ADDR_R __stringify(0x2c00000) |
| 22 | #define RAMDISK_ADDR_R __stringify(0x01100000) |
| 23 | #define SCRIPT_ADDR_R __stringify(0x200000) |
| 24 | |
| 25 | #define LOAD_ADDRESS_ENV_SETTINGS \ |
| 26 | "kernel_addr_r=" KERNEL_ADDR_R "\0" \ |
| 27 | "fdt_addr_r=" FDT_ADDR_R "\0" \ |
| 28 | "ramdisk_addr_r=" RAMDISK_ADDR_R "\0" \ |
| 29 | "scriptaddr=" SCRIPT_ADDR_R "\0" |
| 30 | |
| 31 | #define CFG_EXTRA_ENV_SETTINGS \ |
| 32 | LOAD_ADDRESS_ENV_SETTINGS \ |
| 33 | "fdtfile=" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ |
| 34 | "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \ |
| 35 | "console=ttyS0,115200\0" |
| 36 | |
| 37 | #endif /* _CONFIG_NSA325_H */ |