[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ImageBuilder] Do not set #xen,static-mem-{address/size}-cells


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Michal Orzel <michal.orzel@xxxxxxx>
  • Date: Wed, 16 Nov 2022 09:54:17 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ONISQ8ezoJflHfDnx3dfBWiAhcXDYNCcsPRLwe3lQM4=; b=jEz/MLGd5F3OaPueM9yLzUxb2vSASBTVU+juMkALnKwhTzAHtNcc54LPtcjtW+tnMUl5ySjWcY7d0mU/NPYnhu5q4vj0AcXNpVbgL3lHuH+Mhg+BUwMO0vmOEM44kKeDf28pkQbWvE3wCFq/tz4jq5+WzZcnS1aG+HhQ42fjjN7H7DWAgULb2h+VGy+7VKymAA7YSJT0HpgxrBwlSew1vVJwqhVF4NMFwdfwsB3Lf3Aoj/VTbjWxvkXItIuW448zam5rBFhZUSKWO55AEKVLOHueq8d0jOxJJywLxsCBpsATSFms19Ri13kLm9VCH3/l1YZoffMzCgl3r6x9HZdtCA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MDcRJm6cFB/bZEV1nyqTTQndPkAb09INwNsSElhv8KNAMsmLwMMP48oNPGtbIiAv6/ROQL40mEaRVh5LwMjb/AGrp4jXn6z/gEZ7A3EioT9xemBjnAL3uBwylar+CaSAdCOl1S1HJG8ZKDgv3Lryu7zEId44FvF9qa5kv4+n7rEyYkEFdnIpsNLyY8oRj2Mfyxq6bBSWj+3TS6jnddiNzVbHz3Mq0nfP78bpd8TRwwRMKqRHRb/uQZ3e9w5M3va1BMbt9y38MXt7WJLC/C5/FhuW1TkrEvrF6CHOYTjFG9nVDa+4a4ojLvr2+gQCO73e8U/7oj5fr44qWOe7dimnDw==
  • Cc: <sstabellini@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>
  • Delivery-date: Wed, 16 Nov 2022 08:54:45 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Xen commit 942ac5fc15ec ("xen/arm, device-tree: Make static-mem
use #{address,size}-cells") dropped these custom properties in favor of
reusing regular #{address/size}-cells from the chosen node for the
xen,static-mem property. Reflect this change in ImageBuilder.

Signed-off-by: Michal Orzel <michal.orzel@xxxxxxx>
---
The master branch of ImageBuilder should reflect the current status of Xen.
Apart from that, we might want to come up with some versioning system in
ImageBuilder, because commits like this one are breaking the backwards
compatibility.
---
 scripts/uboot-script-gen | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen
index 0ef89b680348..7e5cc080407e 100755
--- a/scripts/uboot-script-gen
+++ b/scripts/uboot-script-gen
@@ -181,9 +181,6 @@ function add_device_tree_static_mem()
     local cells=()
     local val
 
-    dt_set "$path" "#xen,static-mem-address-cells" "hex" "0x2"
-    dt_set "$path" "#xen,static-mem-size-cells" "hex" "0x2"
-
     for val in ${regions[@]}
     do
         cells+=("$(printf "0x%x 0x%x" $(($val >> 32)) $(($val & ((1 << 32) - 
1))))")
-- 
2.25.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.