diff options
Diffstat (limited to 'bsps/shared/start')
-rw-r--r-- | bsps/shared/start/bsp-fdt.c | 10 | ||||
-rw-r--r-- | bsps/shared/start/bsp-uboot-board-info.c | 2 | ||||
-rw-r--r-- | bsps/shared/start/bspfatal-default.c | 11 | ||||
-rw-r--r-- | bsps/shared/start/bspgetworkarea-default.c | 3 | ||||
-rw-r--r-- | bsps/shared/start/gettargethash-default.c | 2 | ||||
-rw-r--r-- | bsps/shared/start/mallocinitmulti.c | 2 | ||||
-rw-r--r-- | bsps/shared/start/mallocinitone.c | 2 | ||||
-rw-r--r-- | bsps/shared/start/stackalloc.c | 2 | ||||
-rw-r--r-- | bsps/shared/start/wkspaceinitmulti.c | 2 | ||||
-rw-r--r-- | bsps/shared/start/wkspaceinitone.c | 2 |
10 files changed, 27 insertions, 11 deletions
diff --git a/bsps/shared/start/bsp-fdt.c b/bsps/shared/start/bsp-fdt.c index 75a1ea41c9..79f31733e1 100644 --- a/bsps/shared/start/bsp-fdt.c +++ b/bsps/shared/start/bsp-fdt.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (c) 2015, 2017 embedded brains GmbH. All rights reserved. + * Copyright (C) 2015, 2017 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -32,6 +32,10 @@ #include <bsp/fdt.h> #include <bsp/linker-symbols.h> +#ifdef BSP_DTB_IS_SUPPORTED +#include BSP_DTB_HEADER_PATH +#endif + #ifndef BSP_FDT_IS_SUPPORTED #warning "BSP FDT support indication not defined" #endif @@ -76,5 +80,9 @@ void bsp_fdt_copy(const void *src) const void *bsp_fdt_get(void) { +#ifdef BSP_DTB_IS_SUPPORTED + return system_dtb; +#else return &bsp_fdt_blob[0]; +#endif } diff --git a/bsps/shared/start/bsp-uboot-board-info.c b/bsps/shared/start/bsp-uboot-board-info.c index 29ae573fd7..39828b1a9d 100644 --- a/bsps/shared/start/bsp-uboot-board-info.c +++ b/bsps/shared/start/bsp-uboot-board-info.c @@ -1,7 +1,7 @@ /* SPDX-License-Identifier: BSD-2-Clause */ /* - * Copyright (c) 2010, 2016 embedded brains GmbH. All rights reserved. + * Copyright (C) 2010, 2016 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/shared/start/bspfatal-default.c b/bsps/shared/start/bspfatal-default.c index 28f492dee1..557a0960fa 100644 --- a/bsps/shared/start/bspfatal-default.c +++ b/bsps/shared/start/bspfatal-default.c @@ -1,5 +1,14 @@ /* SPDX-License-Identifier: BSD-2-Clause */ +/** + * @file + * + * @ingroup RTEMSBSPsShared + * + * @brief This source file contains the implementation of + * bsp_fatal_extension(). + */ + /* * COPYRIGHT (c) 1989-1999. * On-Line Applications Research Corporation (OAR). @@ -153,7 +162,7 @@ void bsp_fatal_extension( _Thread_Get_name( executing, name, sizeof( name ) ); printk( - "executing thread ID: 0x08%" PRIx32 "\n" + "executing thread ID: 0x%08" PRIx32 "\n" "executing thread name: %s\n", executing->Object.id, name diff --git a/bsps/shared/start/bspgetworkarea-default.c b/bsps/shared/start/bspgetworkarea-default.c index 5686b013f9..5f956b124f 100644 --- a/bsps/shared/start/bspgetworkarea-default.c +++ b/bsps/shared/start/bspgetworkarea-default.c @@ -12,7 +12,7 @@ */ /* - * Copyright (C) 2011, 2019 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2011, 2019 embedded brains GmbH & Co. KG * * Copyright (C) 1989, 2009 On-Line Applications Research Corporation (OAR) * @@ -39,7 +39,6 @@ */ #include <bsp.h> -#include <bsp/bootcard.h> #if defined(HAS_UBOOT) && !defined(BSP_DISABLE_UBOOT_WORK_AREA_CONFIG) #define USE_UBOOT diff --git a/bsps/shared/start/gettargethash-default.c b/bsps/shared/start/gettargethash-default.c index 1647b01a66..28336b9f47 100644 --- a/bsps/shared/start/gettargethash-default.c +++ b/bsps/shared/start/gettargethash-default.c @@ -10,7 +10,7 @@ */ /* - * Copyright (C) 2021 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2021 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/shared/start/mallocinitmulti.c b/bsps/shared/start/mallocinitmulti.c index ad04ea14ed..3d774ab65f 100644 --- a/bsps/shared/start/mallocinitmulti.c +++ b/bsps/shared/start/mallocinitmulti.c @@ -10,7 +10,7 @@ */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/shared/start/mallocinitone.c b/bsps/shared/start/mallocinitone.c index 249f0b8e02..f590523ea1 100644 --- a/bsps/shared/start/mallocinitone.c +++ b/bsps/shared/start/mallocinitone.c @@ -10,7 +10,7 @@ */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/shared/start/stackalloc.c b/bsps/shared/start/stackalloc.c index 1d2b0e6880..485753fad9 100644 --- a/bsps/shared/start/stackalloc.c +++ b/bsps/shared/start/stackalloc.c @@ -9,7 +9,7 @@ */ /* - * Copyright (c) 2009-2013 embedded brains GmbH. All rights reserved. + * Copyright (C) 2009, 2013 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/shared/start/wkspaceinitmulti.c b/bsps/shared/start/wkspaceinitmulti.c index 2a0d0b5806..8ca34c1bc5 100644 --- a/bsps/shared/start/wkspaceinitmulti.c +++ b/bsps/shared/start/wkspaceinitmulti.c @@ -10,7 +10,7 @@ */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/bsps/shared/start/wkspaceinitone.c b/bsps/shared/start/wkspaceinitone.c index 91d007d100..a93edad962 100644 --- a/bsps/shared/start/wkspaceinitone.c +++ b/bsps/shared/start/wkspaceinitone.c @@ -10,7 +10,7 @@ */ /* - * Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) + * Copyright (C) 2020 embedded brains GmbH & Co. KG * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions |