From: Wolfgang Denk Date: Sun, 02 Sep 2012 22:56:15 +0200 Subject: [U-Boot] [PATCH] [RFC] powerpc: re-add bi_ip_addr to bd_t struct In-Reply-To: <1346612940-8580-1-git-send-email-agust@denx.de> References: <1346612940-8580-1-git-send-email-agust@denx.de> Message-ID: <20120902205615.4ED57203B2F@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Anatolij Gustschin, In message <1346612940-8580-1-git-send-email-agust@denx.de> you wrote: > Since commit 50a47d0523e8efebe912bef539a77ffd42116451 > (net: punt bd->bi_ip_addr) booting old 2.4.x ppc kernels > is broken due to changed offsets of the fields in struct bd_t. > Offsets of the fields after removed bi_ip_addr are wrong, > causing wrong bus clocks and console baudrate configurations > and various other issues. Re-add the bi_ip_addr field to preserve > backward compatibility with older ppc kernels. Setting bi_ip_addr > in board.c is not really needed, grepping in the 2.4 linux tree > shows that bi_ip_addr is not accessed there. Adding bi_ip_addr > to struct bd_t for other arches isn't needed it seems. bd_t is > not used by other arches in the 2.4 linux tree. > > Signed-off-by: Anatolij Gustschin > --- > arch/powerpc/include/asm/u-boot.h | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de ...though his invention worked superbly -- his theory was a crock of sewage from beginning to end. - Vernor Vinge, "The Peace War"