From: Roman Mashak Date: Mon, 22 Sep 2008 00:12:51 -0700 Subject: [U-Boot] U-Boot on ARM9 Message-ID: <40a670230809220012j1bab5602gdd07eeab9e8db482@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello. I have a few questions on arm926 initialization code, located in ${U_BOOT}/cpu/arm926ejs/start.S: 1) what is the point of deliberately setting up SVC mode, as it's already in this mode right upon the reset? 2) I can't quite understand what 'CONFIG_USE_IRQ' is used for. It is defined on just a few targets. 3) The stack set up -- commonly startup code initializes stacks for all modes, but it's not clear how it's done in 'start.S'. Seems like somehow stacks are run-time configured, but I didn't perceive how. Thanks in advance for comments. -- Roman Mashak