ret = wlcore_raw_write32(wl, HW_PART0_START_ADDR, p->mem.start); if (ret < 0) goto out;
ret = wlcore_raw_write32(wl, HW_PART0_SIZE_ADDR, p->mem.size); if (ret < 0) goto out;
ret = wlcore_raw_write32(wl, HW_PART1_START_ADDR, p->reg.start); if (ret < 0) goto out;
ret = wlcore_raw_write32(wl, HW_PART1_SIZE_ADDR, p->reg.size); if (ret < 0) goto out;
ret = wlcore_raw_write32(wl, HW_PART2_START_ADDR, p->mem2.start); if (ret < 0) goto out;
ret = wlcore_raw_write32(wl, HW_PART2_SIZE_ADDR, p->mem2.size); if (ret < 0) goto out;
/* wl12xx only: We don't need the size of the last partition, *asitisautomaticallycalculatedbasedonthetotalmemory *sizeandthesizesofthepreviouspartitions. * *wl18xxre-definestheHW_PART3addressesforloggerover *SDIOsupport.wl12xxisexpectingthewriteto *HW_PART3_START_ADDRatoffset24.Thiscreatesconflict *betweentheaddresses. *Inordertofixthistheexpectedvalueiswrittento *HW_PART3_SIZE_ADDRinsteadwhichisatoffset24afterchanges.
*/
ret = wlcore_raw_write32(wl, HW_PART3_START_ADDR, p->mem3.start); if (ret < 0) goto out;
ret = wlcore_raw_write32(wl, HW_PART3_SIZE_ADDR, p->mem3.size); if (ret < 0) goto out;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.