Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67463
b: refs/heads/master
c: 69c9c94
h: refs/heads/master
i:
  67461: dd1540e
  67459: 270cfde
  67455: 793719d
v: v3
  • Loading branch information
Grant Likely authored and Josh Boyer committed Oct 3, 2007
1 parent e2a3127 commit 9603c62
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: dc8afdc7ada82562231cbae867fe6dcdb7b677f5
refs/heads/master: 69c9c94303e309c02cf4b3e671a46a34fd0c4b0b
8 changes: 8 additions & 0 deletions trunk/arch/ppc/boot/simple/embed_config.c
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,9 @@ embed_config(bd_t ** bdp)
static const unsigned long congruence_classes = 256;
unsigned long addr;
unsigned long dccr;
uint8_t* cp;
bd_t *bd;
int i;

/*
* Invalidate the data cache if the data cache is turned off.
Expand All @@ -778,6 +780,12 @@ embed_config(bd_t ** bdp)
bd->bi_intfreq = XPAR_CORE_CLOCK_FREQ_HZ;
bd->bi_busfreq = XPAR_PLB_CLOCK_FREQ_HZ;
bd->bi_pci_busfreq = XPAR_PCI_0_CLOCK_FREQ_HZ;

/* Copy the default ethernet address */
cp = (u_char *)def_enet_addr;
for (i=0; i<6; i++)
bd->bi_enetaddr[i] = *cp++;

timebase_period_ns = 1000000000 / bd->bi_tbfreq;
/* see bi_tbfreq definition in arch/ppc/platforms/4xx/xilinx_ml300.h */
}
Expand Down

0 comments on commit 9603c62

Please sign in to comment.