Change in osmo-asf4-dfu[sysmoOCTSIM]: minox: use RAM address define instead of hardcoded value

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

tsaitgaist gerrit-no-reply at lists.osmocom.org
Tue Jan 14 13:14:57 UTC 2020


tsaitgaist has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/16856 )


Change subject: minox: use RAM address define instead of hardcoded value
......................................................................

minox: use RAM address define instead of hardcoded value

Change-Id: I81a42637194cbf0b5152fe38c691522021ab7582
---
M usb_dfu_main.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-asf4-dfu refs/changes/56/16856/1

diff --git a/usb_dfu_main.c b/usb_dfu_main.c
index f431d29..19fe437 100644
--- a/usb_dfu_main.c
+++ b/usb_dfu_main.c
@@ -73,7 +73,7 @@
 	 * if the SP is not in this range (e.g. flash has been erased) there is no valid application
 	 * the second entry in the vector table is the reset address, corresponding to the application start
 	 */
-	return (0x20000000 == ((*application_start_address) & 0xFFF80000));
+	return (HSRAM_ADDR == ((*application_start_address) & 0xFFF80000));
 }
 
 /** Start the application

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-asf4-dfu/+/16856
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-asf4-dfu
Gerrit-Branch: sysmoOCTSIM
Gerrit-Change-Id: I81a42637194cbf0b5152fe38c691522021ab7582
Gerrit-Change-Number: 16856
Gerrit-PatchSet: 1
Gerrit-Owner: tsaitgaist <kredon at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200114/7070f051/attachment.htm>


More information about the gerrit-log mailing list