diff options
| author | Tom Rini <[email protected]> | 2024-01-17 09:12:27 -0500 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-01-17 09:12:27 -0500 |
| commit | 106332d6cc583c4339e07020989d09b567900a59 (patch) | |
| tree | 746beb976633e80b5c824805100490bb51cb9ffb /include | |
| parent | 043ca8c8a9b181cf6f17441e9b89b5ee33206309 (diff) | |
| parent | a300ac3851440906a3934915bd12db2b96987a6a (diff) | |
Merge branch '2024-01-16-assorted-updates-and-improvements'
- Add more pytests to exercise functionality on real hardware, cleanup
and add tests around "cp"/memmove, add phyCORE-AM62x and Phytium
Pe2201 platforms, Nuvoton NPCM BMC reset driver and improve QEMU
SMBIOS support
Diffstat (limited to 'include')
| -rw-r--r-- | include/command.h | 2 | ||||
| -rw-r--r-- | include/configs/pe2201.h | 16 | ||||
| -rw-r--r-- | include/configs/phycore_am62x.h | 15 |
3 files changed, 32 insertions, 1 deletions
diff --git a/include/command.h b/include/command.h index 4cec6345453..4158ca11b0e 100644 --- a/include/command.h +++ b/include/command.h @@ -186,7 +186,7 @@ int cmd_process_error(struct cmd_tbl *cmdtp, int err); * Return: data size in bytes (1, 2, 4, 8) or CMD_DATA_SIZE_ERR for an invalid * character, or CMD_DATA_SIZE_STR for a string */ -int cmd_get_data_size(char *arg, int default_size); +int cmd_get_data_size(const char *arg, int default_size); #endif #ifdef CONFIG_CMD_BOOTD diff --git a/include/configs/pe2201.h b/include/configs/pe2201.h new file mode 100644 index 00000000000..80f8f17bcd4 --- /dev/null +++ b/include/configs/pe2201.h @@ -0,0 +1,16 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2023, Phytium Technology Co., Ltd. + * lixinde <[email protected]> + * weichangzheng <[email protected]> + */ + +#ifndef __PE2201_CONFIG_H +#define __PE2201_CONFIG_H + +/* SDRAM Bank #1 start address */ +#define PHYS_SDRAM_1 0x80000000 +#define PHYS_SDRAM_1_SIZE 0x74000000 +#define CFG_SYS_SDRAM_BASE PHYS_SDRAM_1 + +#endif diff --git a/include/configs/phycore_am62x.h b/include/configs/phycore_am62x.h new file mode 100644 index 00000000000..10b78b6f537 --- /dev/null +++ b/include/configs/phycore_am62x.h @@ -0,0 +1,15 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Configuration header file for PHYTEC phyCORE-AM62x + * + * Copyright (C) 2023 PHYTEC Messtechnik GmbH + * Author: Wadim Egorov <[email protected]> + */ + +#ifndef __PHYCORE_AM62X_H +#define __PHYCORE_AM62X_H + +/* DDR Configuration */ +#define CFG_SYS_SDRAM_BASE 0x80000000 + +#endif /* __PHYCORE_AM62X_H */ |
