Author: mcayland Date: Sat Oct 16 16:13:15 2010 New Revision: 897 URL: http://tracker.coreboot.org/trac/openbios/changeset/897
Log: Replace hardcoded value with the correct constant from spitfire.h.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk
Modified: trunk/openbios-devel/arch/sparc64/lib.c
Modified: trunk/openbios-devel/arch/sparc64/lib.c ============================================================================== --- trunk/openbios-devel/arch/sparc64/lib.c Sat Oct 16 16:02:18 2010 (r896) +++ trunk/openbios-devel/arch/sparc64/lib.c Sat Oct 16 16:13:15 2010 (r897) @@ -154,7 +154,7 @@ if (va >= t->virt && va < (t->virt + t->size)) {
/* valid tte, 8k size */ - tte_data = 0x8000000000000000UL; + tte_data = SPITFIRE_TTE_VALID;
/* mix in phys address mode */ tte_data |= t->mode;