From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-2?Q?=A3ukasz_Da=B3ek?= Date: Sun, 13 Jan 2013 02:00:24 +0100 Subject: [U-Boot] [PATCH 2/3] h2200: Add board reset support In-Reply-To: <201301130054.28674.marex@denx.de> References: <1358026767-28130-1-git-send-email-luk0104@gmail.com> <1358026767-28130-2-git-send-email-luk0104@gmail.com> <201301130054.28674.marex@denx.de> Message-ID: <50F20728.3000409@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 On 13.01.2013 00:54, Marek Vasut wrote: > Dear Lukasz Dalek, > > > +void board_reset(void) > +{ > + /* Enable VLIO interface on Hamcop */ > + writeb(0x1, 0x4000); > + > + /* Reset board (cold reset) */ > + writeb(0xff, 0x4002); > +} > Can you not reimplement reset_cpu() ? reset_cpu() doesn't have __attribute__((weak)) so if I would try to implement it compiler will return with error. Yours sincerely, ?ukasz Da?ek