-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devicetree: support of 64-bit addresses from devicetree
Usage of 64-bit address constants from devicetree without a UINT64_C wrapping macro results in the following warning and the cut-off of the address value: "warning: integer constant is so large that it is unsigned" This change extends devicetree API adding few wrappers over the address constant getters which add ULL size suffix to an address integer literal when the appearance of 64-bit address values is possible Signed-off-by: Alexander Razinkov <alexander.razinkov@syntacore.com>
- Loading branch information
Showing
4 changed files
with
128 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright (c) 2023 Syntacore | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
description: Test 64-bit register property container | ||
|
||
compatible: "vnd,reg-holder-64" | ||
|
||
include: [base.yaml] | ||
|
||
properties: | ||
reg: | ||
required: true | ||
|
||
reg-names: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters