diff options
author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-12 00:55:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-12 00:55:47 -0400 |
commit | e86908614f2c7fec401827e5cefd7a6ea9407f85 (patch) | |
tree | fcb5d9e52422b37bdaf0e647126ebdfc1680f162 /include/linux | |
parent | 547307420931344a868275bd7ea7a30f117a15a9 (diff) | |
parent | 9b4b8feb962f4b3e74768b7205f1f8f6cce87238 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc
* 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc: (408 commits)
[POWERPC] Add memchr() to the bootwrapper
[POWERPC] Implement logging of unhandled signals
[POWERPC] Add legacy serial support for OPB with flattened device tree
[POWERPC] Use 1TB segments
[POWERPC] XilinxFB: Allow fixed framebuffer base address
[POWERPC] XilinxFB: Add support for custom screen resolution
[POWERPC] XilinxFB: Use pdata to pass around framebuffer parameters
[POWERPC] PCI: Add 64-bit physical address support to setup_indirect_pci
[POWERPC] 4xx: Kilauea defconfig file
[POWERPC] 4xx: Kilauea DTS
[POWERPC] 4xx: Add AMCC Kilauea eval board support to platforms/40x
[POWERPC] 4xx: Add AMCC 405EX support to cputable.c
[POWERPC] Adjust TASK_SIZE on ppc32 systems to 3GB that are capable
[POWERPC] Use PAGE_OFFSET to tell if an address is user/kernel in SW TLB handlers
[POWERPC] 85xx: Enable FP emulation in MPC8560 ADS defconfig
[POWERPC] 85xx: Killed <asm/mpc85xx.h>
[POWERPC] 85xx: Add cpm nodes for 8541/8555 CDS
[POWERPC] 85xx: Convert mpc8560ads to the new CPM binding.
[POWERPC] mpc8272ads: Remove muram from the CPM reg property.
[POWERPC] Make clockevents work on PPC601 processors
...
Fixed up conflict in Documentation/powerpc/booting-without-of.txt manually.
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/elf.h | 14 | ||||
-rw-r--r-- | include/linux/of.h | 1 | ||||
-rw-r--r-- | include/linux/pci_ids.h | 3 | ||||
-rw-r--r-- | include/linux/xilinxfb.h | 30 |
4 files changed, 41 insertions, 7 deletions
diff --git a/include/linux/elf.h b/include/linux/elf.h index 8b17ffe222c4..d2da84acf45d 100644 --- a/include/linux/elf.h +++ b/include/linux/elf.h | |||
@@ -389,12 +389,14 @@ extern Elf64_Dyn _DYNAMIC []; | |||
389 | 389 | ||
390 | #endif | 390 | #endif |
391 | 391 | ||
392 | /* Optional callbacks to write extra ELF notes. */ | ||
392 | #ifndef ARCH_HAVE_EXTRA_ELF_NOTES | 393 | #ifndef ARCH_HAVE_EXTRA_ELF_NOTES |
393 | static inline int arch_notes_size(void) { return 0; } | 394 | static inline int elf_coredump_extra_notes_size(void) { return 0; } |
394 | static inline void arch_write_notes(struct file *file) { } | 395 | static inline int elf_coredump_extra_notes_write(struct file *file, |
395 | 396 | loff_t *foffset) { return 0; } | |
396 | #define ELF_CORE_EXTRA_NOTES_SIZE arch_notes_size() | 397 | #else |
397 | #define ELF_CORE_WRITE_EXTRA_NOTES arch_write_notes(file) | 398 | extern int elf_coredump_extra_notes_size(void); |
398 | #endif /* ARCH_HAVE_EXTRA_ELF_NOTES */ | 399 | extern int elf_coredump_extra_notes_write(struct file *file, loff_t *foffset); |
400 | #endif | ||
399 | 401 | ||
400 | #endif /* _LINUX_ELF_H */ | 402 | #endif /* _LINUX_ELF_H */ |
diff --git a/include/linux/of.h b/include/linux/of.h index 47734ffd9745..6df80e985914 100644 --- a/include/linux/of.h +++ b/include/linux/of.h | |||
@@ -54,7 +54,6 @@ extern int of_device_is_compatible(const struct device_node *device, | |||
54 | extern const void *of_get_property(const struct device_node *node, | 54 | extern const void *of_get_property(const struct device_node *node, |
55 | const char *name, | 55 | const char *name, |
56 | int *lenp); | 56 | int *lenp); |
57 | #define get_property(a, b, c) of_get_property((a), (b), (c)) | ||
58 | extern int of_n_addr_cells(struct device_node *np); | 57 | extern int of_n_addr_cells(struct device_node *np); |
59 | extern int of_n_size_cells(struct device_node *np); | 58 | extern int of_n_size_cells(struct device_node *np); |
60 | 59 | ||
diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h index 8acae4eeaa76..3948708c42ca 100644 --- a/include/linux/pci_ids.h +++ b/include/linux/pci_ids.h | |||
@@ -2113,8 +2113,11 @@ | |||
2113 | #define PCI_DEVICE_ID_MPC8533 0x0031 | 2113 | #define PCI_DEVICE_ID_MPC8533 0x0031 |
2114 | #define PCI_DEVICE_ID_MPC8544E 0x0032 | 2114 | #define PCI_DEVICE_ID_MPC8544E 0x0032 |
2115 | #define PCI_DEVICE_ID_MPC8544 0x0033 | 2115 | #define PCI_DEVICE_ID_MPC8544 0x0033 |
2116 | #define PCI_DEVICE_ID_MPC8572E 0x0040 | ||
2117 | #define PCI_DEVICE_ID_MPC8572 0x0041 | ||
2116 | #define PCI_DEVICE_ID_MPC8641 0x7010 | 2118 | #define PCI_DEVICE_ID_MPC8641 0x7010 |
2117 | #define PCI_DEVICE_ID_MPC8641D 0x7011 | 2119 | #define PCI_DEVICE_ID_MPC8641D 0x7011 |
2120 | #define PCI_DEVICE_ID_MPC8610 0x7018 | ||
2118 | 2121 | ||
2119 | #define PCI_VENDOR_ID_PASEMI 0x1959 | 2122 | #define PCI_VENDOR_ID_PASEMI 0x1959 |
2120 | 2123 | ||
diff --git a/include/linux/xilinxfb.h b/include/linux/xilinxfb.h new file mode 100644 index 000000000000..f2463f559fb9 --- /dev/null +++ b/include/linux/xilinxfb.h | |||
@@ -0,0 +1,30 @@ | |||
1 | /* | ||
2 | * Platform device data for Xilinx Framebuffer device | ||
3 | * | ||
4 | * Copyright 2007 Secret Lab Technologies Ltd. | ||
5 | * | ||
6 | * This file is licensed under the terms of the GNU General Public License | ||
7 | * version 2. This program is licensed "as is" without any warranty of any | ||
8 | * kind, whether express or implied. | ||
9 | */ | ||
10 | |||
11 | #ifndef __XILINXFB_H__ | ||
12 | #define __XILINXFB_H__ | ||
13 | |||
14 | #include <linux/types.h> | ||
15 | |||
16 | /* ML300/403 reference design framebuffer driver platform data struct */ | ||
17 | struct xilinxfb_platform_data { | ||
18 | u32 rotate_screen; /* Flag to rotate display 180 degrees */ | ||
19 | u32 screen_height_mm; /* Physical dimentions of screen in mm */ | ||
20 | u32 screen_width_mm; | ||
21 | u32 xres, yres; /* resolution of screen in pixels */ | ||
22 | u32 xvirt, yvirt; /* resolution of memory buffer */ | ||
23 | |||
24 | /* Physical address of framebuffer memory; If non-zero, driver | ||
25 | * will use provided memory address instead of allocating one from | ||
26 | * the consistent pool. */ | ||
27 | u32 fb_phys; | ||
28 | }; | ||
29 | |||
30 | #endif /* __XILINXFB_H__ */ | ||