diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-12-22 19:21:47 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-12-22 19:21:47 -0500 |
commit | f80ca163d65903276bec7045a484a79c0897eb2d (patch) | |
tree | 97c7d61d43248b9db0757a76af80ff58b98b5599 /arch/powerpc/boot | |
parent | 0794ec8ce327ec74416b569b8fb1951274693700 (diff) | |
parent | a6d52d70677e99bdb89b6921c265d0a58c22e597 (diff) |
Merge branch 'ioat' into fixes
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/addRamDisk.c | 6 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/mpc8377_wlan.dts | 2 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/mpc8569mds.dts | 4 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/sbc8548.dts | 17 |
4 files changed, 14 insertions, 15 deletions
diff --git a/arch/powerpc/boot/addRamDisk.c b/arch/powerpc/boot/addRamDisk.c index c02a99952be7..893f446cbd22 100644 --- a/arch/powerpc/boot/addRamDisk.c +++ b/arch/powerpc/boot/addRamDisk.c | |||
@@ -58,7 +58,7 @@ static int check_elf64(void *p, int size, struct addr_range *r) | |||
58 | 58 | ||
59 | return 64; | 59 | return 64; |
60 | } | 60 | } |
61 | void get4k(FILE *file, char *buf ) | 61 | static void get4k(FILE *file, char *buf ) |
62 | { | 62 | { |
63 | unsigned j; | 63 | unsigned j; |
64 | unsigned num = fread(buf, 1, 4096, file); | 64 | unsigned num = fread(buf, 1, 4096, file); |
@@ -66,12 +66,12 @@ void get4k(FILE *file, char *buf ) | |||
66 | buf[j] = 0; | 66 | buf[j] = 0; |
67 | } | 67 | } |
68 | 68 | ||
69 | void put4k(FILE *file, char *buf ) | 69 | static void put4k(FILE *file, char *buf ) |
70 | { | 70 | { |
71 | fwrite(buf, 1, 4096, file); | 71 | fwrite(buf, 1, 4096, file); |
72 | } | 72 | } |
73 | 73 | ||
74 | void death(const char *msg, FILE *fdesc, const char *fname) | 74 | static void death(const char *msg, FILE *fdesc, const char *fname) |
75 | { | 75 | { |
76 | fprintf(stderr, msg); | 76 | fprintf(stderr, msg); |
77 | fclose(fdesc); | 77 | fclose(fdesc); |
diff --git a/arch/powerpc/boot/dts/mpc8377_wlan.dts b/arch/powerpc/boot/dts/mpc8377_wlan.dts index 9a603695723b..9ea783056969 100644 --- a/arch/powerpc/boot/dts/mpc8377_wlan.dts +++ b/arch/powerpc/boot/dts/mpc8377_wlan.dts | |||
@@ -67,7 +67,7 @@ | |||
67 | device-width = <1>; | 67 | device-width = <1>; |
68 | 68 | ||
69 | partition@0 { | 69 | partition@0 { |
70 | reg = <0 0x8000>; | 70 | reg = <0 0x80000>; |
71 | label = "u-boot"; | 71 | label = "u-boot"; |
72 | read-only; | 72 | read-only; |
73 | }; | 73 | }; |
diff --git a/arch/powerpc/boot/dts/mpc8569mds.dts b/arch/powerpc/boot/dts/mpc8569mds.dts index 06332d61830a..1e3ec8f059bf 100644 --- a/arch/powerpc/boot/dts/mpc8569mds.dts +++ b/arch/powerpc/boot/dts/mpc8569mds.dts | |||
@@ -487,8 +487,8 @@ | |||
487 | &qe_pio_f 5 0 /* USBTN */ | 487 | &qe_pio_f 5 0 /* USBTN */ |
488 | &qe_pio_f 6 0 /* USBRP */ | 488 | &qe_pio_f 6 0 /* USBRP */ |
489 | &qe_pio_f 8 0 /* USBRN */ | 489 | &qe_pio_f 8 0 /* USBRN */ |
490 | &bcsr17 6 0 /* SPEED */ | 490 | &bcsr17 1 0 /* SPEED */ |
491 | &bcsr17 5 1>; /* POWER */ | 491 | &bcsr17 2 0>; /* POWER */ |
492 | }; | 492 | }; |
493 | 493 | ||
494 | enet0: ucc@2000 { | 494 | enet0: ucc@2000 { |
diff --git a/arch/powerpc/boot/dts/sbc8548.dts b/arch/powerpc/boot/dts/sbc8548.dts index 9eefe00ed253..94a332251710 100644 --- a/arch/powerpc/boot/dts/sbc8548.dts +++ b/arch/powerpc/boot/dts/sbc8548.dts | |||
@@ -26,8 +26,7 @@ | |||
26 | serial0 = &serial0; | 26 | serial0 = &serial0; |
27 | serial1 = &serial1; | 27 | serial1 = &serial1; |
28 | pci0 = &pci0; | 28 | pci0 = &pci0; |
29 | /* pci1 doesn't have a corresponding physical connector */ | 29 | pci1 = &pci1; |
30 | pci2 = &pci2; | ||
31 | }; | 30 | }; |
32 | 31 | ||
33 | cpus { | 32 | cpus { |
@@ -381,7 +380,7 @@ | |||
381 | bus-range = <0 0>; | 380 | bus-range = <0 0>; |
382 | ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000 | 381 | ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000 |
383 | 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00800000>; | 382 | 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00800000>; |
384 | clock-frequency = <66666666>; | 383 | clock-frequency = <66000000>; |
385 | #interrupt-cells = <1>; | 384 | #interrupt-cells = <1>; |
386 | #size-cells = <2>; | 385 | #size-cells = <2>; |
387 | #address-cells = <3>; | 386 | #address-cells = <3>; |
@@ -390,7 +389,7 @@ | |||
390 | device_type = "pci"; | 389 | device_type = "pci"; |
391 | }; | 390 | }; |
392 | 391 | ||
393 | pci2: pcie@e000a000 { | 392 | pci1: pcie@e000a000 { |
394 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | 393 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
395 | interrupt-map = < | 394 | interrupt-map = < |
396 | 395 | ||
@@ -403,9 +402,9 @@ | |||
403 | interrupt-parent = <&mpic>; | 402 | interrupt-parent = <&mpic>; |
404 | interrupts = <0x1a 0x2>; | 403 | interrupts = <0x1a 0x2>; |
405 | bus-range = <0x0 0xff>; | 404 | bus-range = <0x0 0xff>; |
406 | ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000 | 405 | ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 |
407 | 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x08000000>; | 406 | 0x01000000 0x0 0x00000000 0xe2800000 0x0 0x08000000>; |
408 | clock-frequency = <33333333>; | 407 | clock-frequency = <33000000>; |
409 | #interrupt-cells = <1>; | 408 | #interrupt-cells = <1>; |
410 | #size-cells = <2>; | 409 | #size-cells = <2>; |
411 | #address-cells = <3>; | 410 | #address-cells = <3>; |
@@ -419,11 +418,11 @@ | |||
419 | device_type = "pci"; | 418 | device_type = "pci"; |
420 | ranges = <0x02000000 0x0 0xa0000000 | 419 | ranges = <0x02000000 0x0 0xa0000000 |
421 | 0x02000000 0x0 0xa0000000 | 420 | 0x02000000 0x0 0xa0000000 |
422 | 0x0 0x20000000 | 421 | 0x0 0x10000000 |
423 | 422 | ||
424 | 0x01000000 0x0 0x00000000 | 423 | 0x01000000 0x0 0x00000000 |
425 | 0x01000000 0x0 0x00000000 | 424 | 0x01000000 0x0 0x00000000 |
426 | 0x0 0x08000000>; | 425 | 0x0 0x00800000>; |
427 | }; | 426 | }; |
428 | }; | 427 | }; |
429 | }; | 428 | }; |