/* * There are two reset registers, one with self-clearing (SC) * reset and one with non-self-clearing reset (NON_SC).
*/ #define CPU_RESET_SC 0x00 #define CPU_RESET_NON_SC 0x20
vectors_base = ioremap(VECTORS_BASE, SZ_32K); if (!vectors_base) goto unmap_scu;
scu_enable(scu_base);
/* * Write the first instruction the CPU will execute after being reset * in the reset exception vector.
*/
writel(boot_inst, vectors_base + RESET_VECT);
/* * Write the secondary startup address into the SW reset address * vector. This is used by boot_inst.
*/
writel(__pa_symbol(secondary_startup), vectors_base + SW_RESET_ADDR);
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.