Change in osmo-asf4-dfu[master]: 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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Feb 15 10:28:19 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/12920 )

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(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



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/12920
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-asf4-dfu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I81a42637194cbf0b5152fe38c691522021ab7582
Gerrit-Change-Number: 12920
Gerrit-PatchSet: 1
Gerrit-Owner: Kévin Redon <kredon at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190215/e04eaf48/attachment.htm>


More information about the gerrit-log mailing list