Skip to contentSkip to conversation

Why is BR2/OR2 disabled for CONFIG_MPC85xx?

U-Boot-Users Gerhard Jaeger 1 participant 1 message Jul 27, 2005

lore
Share & tools
lore
#0 lore raw

Hi list,

while adding support for a custom MPC8540 board, I found the following stuff in cpu/mpc85xx/cpu_init.c:

#if !defined(CONFIG_MPC85xx)

#if defined(CFG_BR2_PRELIM) && defined(CFG_OR2_PRELIM)
	memctl->or2 = CFG_OR2_PRELIM;
	memctl->br2 = CFG_BR2_PRELIM;

#endif
#endif

Could anybody shed some light on that? It's not clear to me why these two registers should not be written too, when we have a i.e. 8540 design...

Thanx in advance
Gerhard

Signature · 3 lines
Gerhard Jaeger <[email protected]>            
SYSGO AG                      Embedded and Real-Time Software
www.sysgo.com | www.elinos.com | www.pikeos.com | www.osek.de