diff options
-rw-r--r-- | arch/arm/kernel/atags.c | 83 | ||||
-rw-r--r-- | arch/arm/tools/mach-types | 126 | ||||
-rw-r--r-- | include/asm-arm/arch-ns9xxx/hardware.h | 4 | ||||
-rw-r--r-- | include/asm-arm/kexec.h | 2 |
4 files changed, 151 insertions, 64 deletions
diff --git a/arch/arm/kernel/atags.c b/arch/arm/kernel/atags.c index 64c420805e6f..42a1a1415fa6 100644 --- a/arch/arm/kernel/atags.c +++ b/arch/arm/kernel/atags.c | |||
@@ -1,5 +1,4 @@ | |||
1 | #include <linux/slab.h> | 1 | #include <linux/slab.h> |
2 | #include <linux/kexec.h> | ||
3 | #include <linux/proc_fs.h> | 2 | #include <linux/proc_fs.h> |
4 | #include <asm/setup.h> | 3 | #include <asm/setup.h> |
5 | #include <asm/types.h> | 4 | #include <asm/types.h> |
@@ -7,9 +6,8 @@ | |||
7 | 6 | ||
8 | struct buffer { | 7 | struct buffer { |
9 | size_t size; | 8 | size_t size; |
10 | char *data; | 9 | char data[]; |
11 | }; | 10 | }; |
12 | static struct buffer tags_buffer; | ||
13 | 11 | ||
14 | static int | 12 | static int |
15 | read_buffer(char* page, char** start, off_t off, int count, | 13 | read_buffer(char* page, char** start, off_t off, int count, |
@@ -29,58 +27,57 @@ read_buffer(char* page, char** start, off_t off, int count, | |||
29 | return count; | 27 | return count; |
30 | } | 28 | } |
31 | 29 | ||
32 | 30 | #define BOOT_PARAMS_SIZE 1536 | |
33 | static int | 31 | static char __initdata atags_copy[BOOT_PARAMS_SIZE]; |
34 | create_proc_entries(void) | ||
35 | { | ||
36 | struct proc_dir_entry* tags_entry; | ||
37 | |||
38 | tags_entry = create_proc_read_entry("atags", 0400, NULL, read_buffer, &tags_buffer); | ||
39 | if (!tags_entry) | ||
40 | return -ENOMEM; | ||
41 | |||
42 | return 0; | ||
43 | } | ||
44 | |||
45 | |||
46 | static char __initdata atags_copy_buf[KEXEC_BOOT_PARAMS_SIZE]; | ||
47 | static char __initdata *atags_copy; | ||
48 | 32 | ||
49 | void __init save_atags(const struct tag *tags) | 33 | void __init save_atags(const struct tag *tags) |
50 | { | 34 | { |
51 | atags_copy = atags_copy_buf; | 35 | memcpy(atags_copy, tags, sizeof(atags_copy)); |
52 | memcpy(atags_copy, tags, KEXEC_BOOT_PARAMS_SIZE); | ||
53 | } | 36 | } |
54 | 37 | ||
55 | |||
56 | static int __init init_atags_procfs(void) | 38 | static int __init init_atags_procfs(void) |
57 | { | 39 | { |
58 | struct tag *tag; | 40 | /* |
59 | int error; | 41 | * This cannot go into save_atags() because kmalloc and proc don't work |
42 | * yet when it is called. | ||
43 | */ | ||
44 | struct proc_dir_entry *tags_entry; | ||
45 | struct tag *tag = (struct tag *)atags_copy; | ||
46 | struct buffer *b; | ||
47 | size_t size; | ||
60 | 48 | ||
61 | if (!atags_copy) { | 49 | if (tag->hdr.tag != ATAG_CORE) { |
62 | printk(KERN_WARNING "Exporting ATAGs: No saved tags found\n"); | 50 | printk(KERN_INFO "No ATAGs?"); |
63 | return -EIO; | 51 | return -EINVAL; |
64 | } | 52 | } |
65 | 53 | ||
66 | for (tag = (struct tag *) atags_copy; tag->hdr.size; tag = tag_next(tag)) | 54 | for (; tag->hdr.size; tag = tag_next(tag)) |
67 | ; | 55 | ; |
68 | 56 | ||
69 | tags_buffer.size = ((char *) tag - atags_copy) + sizeof(tag->hdr); | 57 | /* include the terminating ATAG_NONE */ |
70 | tags_buffer.data = kmalloc(tags_buffer.size, GFP_KERNEL); | 58 | size = (char *)tag - atags_copy + sizeof(struct tag_header); |
71 | if (tags_buffer.data == NULL) | ||
72 | return -ENOMEM; | ||
73 | memcpy(tags_buffer.data, atags_copy, tags_buffer.size); | ||
74 | |||
75 | error = create_proc_entries(); | ||
76 | if (error) { | ||
77 | printk(KERN_ERR "Exporting ATAGs: not enough memory\n"); | ||
78 | kfree(tags_buffer.data); | ||
79 | tags_buffer.size = 0; | ||
80 | tags_buffer.data = NULL; | ||
81 | } | ||
82 | 59 | ||
83 | return error; | 60 | WARN_ON(tag->hdr.tag != ATAG_NONE); |
84 | } | 61 | |
62 | b = kmalloc(sizeof(*b) + size, GFP_KERNEL); | ||
63 | if (!b) | ||
64 | goto nomem; | ||
85 | 65 | ||
66 | b->size = size; | ||
67 | memcpy(b->data, atags_copy, size); | ||
68 | |||
69 | tags_entry = create_proc_read_entry("atags", 0400, | ||
70 | NULL, read_buffer, b); | ||
71 | |||
72 | if (!tags_entry) | ||
73 | goto nomem; | ||
74 | |||
75 | return 0; | ||
76 | |||
77 | nomem: | ||
78 | kfree(b); | ||
79 | printk(KERN_ERR "Exporting ATAGs: not enough memory\n"); | ||
80 | |||
81 | return -ENOMEM; | ||
82 | } | ||
86 | arch_initcall(init_atags_procfs); | 83 | arch_initcall(init_atags_procfs); |
diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types index 207a8b5a0c4a..0be5630ff568 100644 --- a/arch/arm/tools/mach-types +++ b/arch/arm/tools/mach-types | |||
@@ -12,7 +12,7 @@ | |||
12 | # | 12 | # |
13 | # http://www.arm.linux.org.uk/developer/machines/?action=new | 13 | # http://www.arm.linux.org.uk/developer/machines/?action=new |
14 | # | 14 | # |
15 | # Last update: Sat Apr 19 11:23:38 2008 | 15 | # Last update: Mon Jul 7 16:25:39 2008 |
16 | # | 16 | # |
17 | # machine_is_xxx CONFIG_xxxx MACH_TYPE_xxx number | 17 | # machine_is_xxx CONFIG_xxxx MACH_TYPE_xxx number |
18 | # | 18 | # |
@@ -560,7 +560,6 @@ husky MACH_HUSKY HUSKY 543 | |||
560 | boxer MACH_BOXER BOXER 544 | 560 | boxer MACH_BOXER BOXER 544 |
561 | shepherd MACH_SHEPHERD SHEPHERD 545 | 561 | shepherd MACH_SHEPHERD SHEPHERD 545 |
562 | aml42800aa MACH_AML42800AA AML42800AA 546 | 562 | aml42800aa MACH_AML42800AA AML42800AA 546 |
563 | ml674001 MACH_MACH_TYPE_ML674001 MACH_TYPE_ML674001 547 | ||
564 | lpc2294 MACH_LPC2294 LPC2294 548 | 563 | lpc2294 MACH_LPC2294 LPC2294 548 |
565 | switchgrass MACH_SWITCHGRASS SWITCHGRASS 549 | 564 | switchgrass MACH_SWITCHGRASS SWITCHGRASS 549 |
566 | ens_cmu MACH_ENS_CMU ENS_CMU 550 | 565 | ens_cmu MACH_ENS_CMU ENS_CMU 550 |
@@ -748,7 +747,6 @@ anubis MACH_ANUBIS ANUBIS 734 | |||
748 | ite8152 MACH_ITE8152 ITE8152 735 | 747 | ite8152 MACH_ITE8152 ITE8152 735 |
749 | lpc3xxx MACH_LPC3XXX LPC3XXX 736 | 748 | lpc3xxx MACH_LPC3XXX LPC3XXX 736 |
750 | puppeteer MACH_PUPPETEER PUPPETEER 737 | 749 | puppeteer MACH_PUPPETEER PUPPETEER 737 |
751 | vt001 MACH_MACH_VADATECH MACH_VADATECH 738 | ||
752 | e570 MACH_E570 E570 739 | 750 | e570 MACH_E570 E570 739 |
753 | x50 MACH_X50 X50 740 | 751 | x50 MACH_X50 X50 740 |
754 | recon MACH_RECON RECON 741 | 752 | recon MACH_RECON RECON 741 |
@@ -839,7 +837,7 @@ ccxp270 MACH_CCXP CCXP 825 | |||
839 | omap_gsample MACH_OMAP_GSAMPLE OMAP_GSAMPLE 826 | 837 | omap_gsample MACH_OMAP_GSAMPLE OMAP_GSAMPLE 826 |
840 | realview_eb MACH_REALVIEW_EB REALVIEW_EB 827 | 838 | realview_eb MACH_REALVIEW_EB REALVIEW_EB 827 |
841 | samoa MACH_SAMOA SAMOA 828 | 839 | samoa MACH_SAMOA SAMOA 828 |
842 | t3xscale MACH_T3XSCALE T3XSCALE 829 | 840 | palmt3 MACH_PALMT3 PALMT3 829 |
843 | i878 MACH_I878 I878 830 | 841 | i878 MACH_I878 I878 830 |
844 | borzoi MACH_BORZOI BORZOI 831 | 842 | borzoi MACH_BORZOI BORZOI 831 |
845 | gecko MACH_GECKO GECKO 832 | 843 | gecko MACH_GECKO GECKO 832 |
@@ -895,7 +893,7 @@ mio8390 MACH_MIO8390 MIO8390 881 | |||
895 | omi_board MACH_OMI_BOARD OMI_BOARD 882 | 893 | omi_board MACH_OMI_BOARD OMI_BOARD 882 |
896 | mx21civ MACH_MX21CIV MX21CIV 883 | 894 | mx21civ MACH_MX21CIV MX21CIV 883 |
897 | mahi_cdac MACH_MAHI_CDAC MAHI_CDAC 884 | 895 | mahi_cdac MACH_MAHI_CDAC MAHI_CDAC 884 |
898 | xscale_palmtx MACH_XSCALE_PALMTX XSCALE_PALMTX 885 | 896 | palmtx MACH_PALMTX PALMTX 885 |
899 | s3c2413 MACH_S3C2413 S3C2413 887 | 897 | s3c2413 MACH_S3C2413 S3C2413 887 |
900 | samsys_ep0 MACH_SAMSYS_EP0 SAMSYS_EP0 888 | 898 | samsys_ep0 MACH_SAMSYS_EP0 SAMSYS_EP0 888 |
901 | wg302v1 MACH_WG302V1 WG302V1 889 | 899 | wg302v1 MACH_WG302V1 WG302V1 889 |
@@ -918,7 +916,7 @@ nxdb500 MACH_NXDB500 NXDB500 905 | |||
918 | apf9328 MACH_APF9328 APF9328 906 | 916 | apf9328 MACH_APF9328 APF9328 906 |
919 | omap_wipoq MACH_OMAP_WIPOQ OMAP_WIPOQ 907 | 917 | omap_wipoq MACH_OMAP_WIPOQ OMAP_WIPOQ 907 |
920 | omap_twip MACH_OMAP_TWIP OMAP_TWIP 908 | 918 | omap_twip MACH_OMAP_TWIP OMAP_TWIP 908 |
921 | xscale_treo650 MACH_XSCALE_PALMTREO650 XSCALE_PALMTREO650 909 | 919 | palmtreo650 MACH_PALMTREO650 PALMTREO650 909 |
922 | acumen MACH_ACUMEN ACUMEN 910 | 920 | acumen MACH_ACUMEN ACUMEN 910 |
923 | xp100 MACH_XP100 XP100 911 | 921 | xp100 MACH_XP100 XP100 911 |
924 | fs2410 MACH_FS2410 FS2410 912 | 922 | fs2410 MACH_FS2410 FS2410 912 |
@@ -926,8 +924,8 @@ pxa270_cerf MACH_PXA270_CERF PXA270_CERF 913 | |||
926 | sq2ftlpalm MACH_SQ2FTLPALM SQ2FTLPALM 914 | 924 | sq2ftlpalm MACH_SQ2FTLPALM SQ2FTLPALM 914 |
927 | bsemserver MACH_BSEMSERVER BSEMSERVER 915 | 925 | bsemserver MACH_BSEMSERVER BSEMSERVER 915 |
928 | netclient MACH_NETCLIENT NETCLIENT 916 | 926 | netclient MACH_NETCLIENT NETCLIENT 916 |
929 | xscale_palmtt5 MACH_XSCALE_PALMTT5 XSCALE_PALMTT5 917 | 927 | palmt5 MACH_PALMT5 PALMT5 917 |
930 | xscale_palmtc MACH_OMAP_PALMTC OMAP_PALMTC 918 | 928 | palmtc MACH_PALMTC PALMTC 918 |
931 | omap_apollon MACH_OMAP_APOLLON OMAP_APOLLON 919 | 929 | omap_apollon MACH_OMAP_APOLLON OMAP_APOLLON 919 |
932 | mxc30030evb MACH_MXC30030EVB MXC30030EVB 920 | 930 | mxc30030evb MACH_MXC30030EVB MXC30030EVB 920 |
933 | rea_2d MACH_REA_2D REA_2D 921 | 931 | rea_2d MACH_REA_2D REA_2D 921 |
@@ -1220,7 +1218,6 @@ empca400 MACH_EMPCA400 EMPCA400 1211 | |||
1220 | em7210 MACH_EM7210 EM7210 1212 | 1218 | em7210 MACH_EM7210 EM7210 1212 |
1221 | htchermes MACH_HTCHERMES HTCHERMES 1213 | 1219 | htchermes MACH_HTCHERMES HTCHERMES 1213 |
1222 | eti_c1 MACH_ETI_C1 ETI_C1 1214 | 1220 | eti_c1 MACH_ETI_C1 ETI_C1 1214 |
1223 | mach_dep2410 MACH_MACH_DEP2410 MACH_DEP2410 1215 | ||
1224 | ac100 MACH_AC100 AC100 1216 | 1221 | ac100 MACH_AC100 AC100 1216 |
1225 | sneetch MACH_SNEETCH SNEETCH 1217 | 1222 | sneetch MACH_SNEETCH SNEETCH 1217 |
1226 | studentmate MACH_STUDENTMATE STUDENTMATE 1218 | 1223 | studentmate MACH_STUDENTMATE STUDENTMATE 1218 |
@@ -1421,10 +1418,10 @@ looxc550 MACH_LOOXC550 LOOXC550 1417 | |||
1421 | cnty_titan MACH_CNTY_TITAN CNTY_TITAN 1418 | 1418 | cnty_titan MACH_CNTY_TITAN CNTY_TITAN 1418 |
1422 | app3xx MACH_APP3XX APP3XX 1419 | 1419 | app3xx MACH_APP3XX APP3XX 1419 |
1423 | sideoatsgrama MACH_SIDEOATSGRAMA SIDEOATSGRAMA 1420 | 1420 | sideoatsgrama MACH_SIDEOATSGRAMA SIDEOATSGRAMA 1420 |
1424 | xscale_palmt700p MACH_XSCALE_PALMT700P XSCALE_PALMT700P 1421 | 1421 | palmtreo700p MACH_PALMTREO700P PALMTREO700P 1421 |
1425 | xscale_palmt700w MACH_XSCALE_PALMT700W XSCALE_PALMT700W 1422 | 1422 | palmtreo700w MACH_PALMTREO700W PALMTREO700W 1422 |
1426 | xscale_palmt750 MACH_XSCALE_PALMT750 XSCALE_PALMT750 1423 | 1423 | palmtreo750 MACH_PALMTREO750 PALMTREO750 1423 |
1427 | xscale_palmt755p MACH_XSCALE_PALMT755P XSCALE_PALMT755P 1424 | 1424 | palmtreo755p MACH_PALMTREO755P PALMTREO755P 1424 |
1428 | ezreganut9200 MACH_EZREGANUT9200 EZREGANUT9200 1425 | 1425 | ezreganut9200 MACH_EZREGANUT9200 EZREGANUT9200 1425 |
1429 | sarge MACH_SARGE SARGE 1426 | 1426 | sarge MACH_SARGE SARGE 1426 |
1430 | a696 MACH_A696 A696 1427 | 1427 | a696 MACH_A696 A696 1427 |
@@ -1463,7 +1460,7 @@ artemis MACH_ARTEMIS ARTEMIS 1462 | |||
1463 | htctitan MACH_HTCTITAN HTCTITAN 1463 | 1460 | htctitan MACH_HTCTITAN HTCTITAN 1463 |
1464 | qranium MACH_QRANIUM QRANIUM 1464 | 1461 | qranium MACH_QRANIUM QRANIUM 1464 |
1465 | adx_wsc2 MACH_ADX_WSC2 ADX_WSC2 1465 | 1462 | adx_wsc2 MACH_ADX_WSC2 ADX_WSC2 1465 |
1466 | adx_medcom MACH_ADX_MEDINET ADX_MEDINET 1466 | 1463 | adx_medcom MACH_ADX_MEDCOM ADX_MEDCOM 1466 |
1467 | bboard MACH_BBOARD BBOARD 1467 | 1464 | bboard MACH_BBOARD BBOARD 1467 |
1468 | cambria MACH_CAMBRIA CAMBRIA 1468 | 1465 | cambria MACH_CAMBRIA CAMBRIA 1468 |
1469 | mt7xxx MACH_MT7XXX MT7XXX 1469 | 1466 | mt7xxx MACH_MT7XXX MT7XXX 1469 |
@@ -1519,7 +1516,7 @@ wp188 MACH_WP188 WP188 1518 | |||
1519 | corsica MACH_CORSICA CORSICA 1519 | 1516 | corsica MACH_CORSICA CORSICA 1519 |
1520 | bigeye MACH_BIGEYE BIGEYE 1520 | 1517 | bigeye MACH_BIGEYE BIGEYE 1520 |
1521 | tll5000 MACH_TLL5000 TLL5000 1522 | 1518 | tll5000 MACH_TLL5000 TLL5000 1522 |
1522 | hni270 MACH_HNI_X270 HNI_X270 1523 | 1519 | bebot MACH_BEBOT BEBOT 1523 |
1523 | qong MACH_QONG QONG 1524 | 1520 | qong MACH_QONG QONG 1524 |
1524 | tcompact MACH_TCOMPACT TCOMPACT 1525 | 1521 | tcompact MACH_TCOMPACT TCOMPACT 1525 |
1525 | puma5 MACH_PUMA5 PUMA5 1526 | 1522 | puma5 MACH_PUMA5 PUMA5 1526 |
@@ -1636,7 +1633,6 @@ awlug4lcu MACH_AWLUG4LCU AWLUG4LCU 1637 | |||
1636 | palermoc MACH_PALERMOC PALERMOC 1638 | 1633 | palermoc MACH_PALERMOC PALERMOC 1638 |
1637 | omap_ldp MACH_OMAP_LDP OMAP_LDP 1639 | 1634 | omap_ldp MACH_OMAP_LDP OMAP_LDP 1639 |
1638 | ip500 MACH_IP500 IP500 1640 | 1635 | ip500 MACH_IP500 IP500 1640 |
1639 | mx35ads MACH_MACH_MX35ADS MACH_MX35ADS 1641 | ||
1640 | ase2 MACH_ASE2 ASE2 1642 | 1636 | ase2 MACH_ASE2 ASE2 1642 |
1641 | mx35evb MACH_MX35EVB MX35EVB 1643 | 1637 | mx35evb MACH_MX35EVB MX35EVB 1643 |
1642 | aml_m8050 MACH_AML_M8050 AML_M8050 1644 | 1638 | aml_m8050 MACH_AML_M8050 AML_M8050 1644 |
@@ -1647,7 +1643,7 @@ badger MACH_BADGER BADGER 1648 | |||
1647 | trizeps4wl MACH_TRIZEPS4WL TRIZEPS4WL 1649 | 1643 | trizeps4wl MACH_TRIZEPS4WL TRIZEPS4WL 1649 |
1648 | trizeps5 MACH_TRIZEPS5 TRIZEPS5 1650 | 1644 | trizeps5 MACH_TRIZEPS5 TRIZEPS5 1650 |
1649 | marlin MACH_MARLIN MARLIN 1651 | 1645 | marlin MACH_MARLIN MARLIN 1651 |
1650 | ts7800 MACH_TS7800 TS7800 1652 | 1646 | ts78xx MACH_TS78XX TS78XX 1652 |
1651 | hpipaq214 MACH_HPIPAQ214 HPIPAQ214 1653 | 1647 | hpipaq214 MACH_HPIPAQ214 HPIPAQ214 1653 |
1652 | at572d940dcm MACH_AT572D940DCM AT572D940DCM 1654 | 1648 | at572d940dcm MACH_AT572D940DCM AT572D940DCM 1654 |
1653 | ne1board MACH_NE1BOARD NE1BOARD 1655 | 1649 | ne1board MACH_NE1BOARD NE1BOARD 1655 |
@@ -1720,3 +1716,99 @@ htc_kaiser MACH_HTC_KAISER HTC_KAISER 1724 | |||
1720 | lg_ks20 MACH_LG_KS20 LG_KS20 1725 | 1716 | lg_ks20 MACH_LG_KS20 LG_KS20 1725 |
1721 | hhgps MACH_HHGPS HHGPS 1726 | 1717 | hhgps MACH_HHGPS HHGPS 1726 |
1722 | nokia_n810_wimax MACH_NOKIA_N810_WIMAX NOKIA_N810_WIMAX 1727 | 1718 | nokia_n810_wimax MACH_NOKIA_N810_WIMAX NOKIA_N810_WIMAX 1727 |
1719 | insight MACH_INSIGHT INSIGHT 1728 | ||
1720 | sapphire MACH_SAPPHIRE SAPPHIRE 1729 | ||
1721 | csb637xo MACH_CSB637XO CSB637XO 1730 | ||
1722 | evisiong MACH_EVISIONG EVISIONG 1731 | ||
1723 | stmp37xx MACH_STMP37XX STMP37XX 1732 | ||
1724 | stmp378x MACH_STMP38XX STMP38XX 1733 | ||
1725 | tnt MACH_TNT TNT 1734 | ||
1726 | tbxt MACH_TBXT TBXT 1735 | ||
1727 | playmate MACH_PLAYMATE PLAYMATE 1736 | ||
1728 | pns10 MACH_PNS10 PNS10 1737 | ||
1729 | eznavi MACH_EZNAVI EZNAVI 1738 | ||
1730 | ps4000 MACH_PS4000 PS4000 1739 | ||
1731 | ezx_a780 MACH_EZX_A780 EZX_A780 1740 | ||
1732 | ezx_e680 MACH_EZX_E680 EZX_E680 1741 | ||
1733 | ezx_a1200 MACH_EZX_A1200 EZX_A1200 1742 | ||
1734 | ezx_e6 MACH_EZX_E6 EZX_E6 1743 | ||
1735 | ezx_e2 MACH_EZX_E2 EZX_E2 1744 | ||
1736 | ezx_a910 MACH_EZX_A910 EZX_A910 1745 | ||
1737 | cwmx31 MACH_CWMX31 CWMX31 1746 | ||
1738 | sl2312 MACH_SL2312 SL2312 1747 | ||
1739 | blenny MACH_BLENNY BLENNY 1748 | ||
1740 | ds107 MACH_DS107 DS107 1749 | ||
1741 | dsx07 MACH_DSX07 DSX07 1750 | ||
1742 | picocom1 MACH_PICOCOM1 PICOCOM1 1751 | ||
1743 | lynx_wolverine MACH_LYNX_WOLVERINE LYNX_WOLVERINE 1752 | ||
1744 | ubisys_p9_sc19 MACH_UBISYS_P9_SC19 UBISYS_P9_SC19 1753 | ||
1745 | kratos_low MACH_KRATOS_LOW KRATOS_LOW 1754 | ||
1746 | m700 MACH_M700 M700 1755 | ||
1747 | edmini_v2 MACH_EDMINI_V2 EDMINI_V2 1756 | ||
1748 | zipit2 MACH_ZIPIT2 ZIPIT2 1757 | ||
1749 | hslfemtocell MACH_HSLFEMTOCELL HSLFEMTOCELL 1758 | ||
1750 | daintree_at91 MACH_DAINTREE_AT91 DAINTREE_AT91 1759 | ||
1751 | sg560usb MACH_SG560USB SG560USB 1760 | ||
1752 | omap3_pandora MACH_OMAP3_PANDORA OMAP3_PANDORA 1761 | ||
1753 | usr8200 MACH_USR8200 USR8200 1762 | ||
1754 | s1s65k MACH_S1S65K S1S65K 1763 | ||
1755 | s2s65a MACH_S2S65A S2S65A 1764 | ||
1756 | icore MACH_ICORE ICORE 1765 | ||
1757 | mss2 MACH_MSS2 MSS2 1766 | ||
1758 | belmont MACH_BELMONT BELMONT 1767 | ||
1759 | asusp525 MACH_ASUSP525 ASUSP525 1768 | ||
1760 | lb88rc8480 MACH_LB88RC8480 LB88RC8480 1769 | ||
1761 | hipxa MACH_HIPXA HIPXA 1770 | ||
1762 | mx25_3ds MACH_MX25_3DS MX25_3DS 1771 | ||
1763 | m800 MACH_M800 M800 1772 | ||
1764 | omap3530_lv_som MACH_OMAP3530_LV_SOM OMAP3530_LV_SOM 1773 | ||
1765 | prima_evb MACH_PRIMA_EVB PRIMA_EVB 1774 | ||
1766 | mx31bt1 MACH_MX31BT1 MX31BT1 1775 | ||
1767 | atlas4_evb MACH_ATLAS4_EVB ATLAS4_EVB 1776 | ||
1768 | mx31cicada MACH_MX31CICADA MX31CICADA 1777 | ||
1769 | mi424wr MACH_MI424WR MI424WR 1778 | ||
1770 | axs_ultrax MACH_AXS_ULTRAX AXS_ULTRAX 1779 | ||
1771 | at572d940deb MACH_AT572D940DEB AT572D940DEB 1780 | ||
1772 | davinci_da8xx_evm MACH_DAVINCI_DA8XX_EVM DAVINCI_DA8XX_EVM 1781 | ||
1773 | ep9302 MACH_EP9302 EP9302 1782 | ||
1774 | at572d940hfeb MACH_AT572D940HFEB AT572D940HFEB 1783 | ||
1775 | cybook3 MACH_CYBOOK3 CYBOOK3 1784 | ||
1776 | wdg002 MACH_WDG002 WDG002 1785 | ||
1777 | sg560adsl MACH_SG560ADSL SG560ADSL 1786 | ||
1778 | nextio_n2800_ica MACH_NEXTIO_N2800_ICA NEXTIO_N2800_ICA 1787 | ||
1779 | marvell_newdb MACH_MARVELL_NEWDB MARVELL_NEWDB 1789 | ||
1780 | vandihud MACH_VANDIHUD VANDIHUD 1790 | ||
1781 | magx_e8 MACH_MAGX_E8 MAGX_E8 1791 | ||
1782 | magx_z6 MACH_MAGX_Z6 MAGX_Z6 1792 | ||
1783 | magx_v8 MACH_MAGX_V8 MAGX_V8 1793 | ||
1784 | magx_u9 MACH_MAGX_U9 MAGX_U9 1794 | ||
1785 | toughcf08 MACH_TOUGHCF08 TOUGHCF08 1795 | ||
1786 | zw4400 MACH_ZW4400 ZW4400 1796 | ||
1787 | marat91 MACH_MARAT91 MARAT91 1797 | ||
1788 | overo MACH_OVERO OVERO 1798 | ||
1789 | at2440evb MACH_AT2440EVB AT2440EVB 1799 | ||
1790 | neocore926 MACH_NEOCORE926 NEOCORE926 1800 | ||
1791 | wnr854t MACH_WNR854T WNR854T 1801 | ||
1792 | imx27 MACH_IMX27 IMX27 1802 | ||
1793 | moose_db MACH_MOOSE_DB MOOSE_DB 1803 | ||
1794 | fab4 MACH_FAB4 FAB4 1804 | ||
1795 | htcdiamond MACH_HTCDIAMOND HTCDIAMOND 1805 | ||
1796 | fiona MACH_FIONA FIONA 1806 | ||
1797 | mxc30030_x MACH_MXC30030_X MXC30030_X 1807 | ||
1798 | bmp1000 MACH_BMP1000 BMP1000 1808 | ||
1799 | logi9200 MACH_LOGI9200 LOGI9200 1809 | ||
1800 | tqma31 MACH_TQMA31 TQMA31 1810 | ||
1801 | ccw9p9215js MACH_CCW9P9215JS CCW9P9215JS 1811 | ||
1802 | rd88f5181l_ge MACH_RD88F5181L_GE RD88F5181L_GE 1812 | ||
1803 | sifmain MACH_SIFMAIN SIFMAIN 1813 | ||
1804 | sam9_l9261 MACH_SAM9_L9261 SAM9_L9261 1814 | ||
1805 | cc9m2443js MACH_CC9M2443JS CC9M2443JS 1815 | ||
1806 | xaria300 MACH_XARIA300 XARIA300 1816 | ||
1807 | it9200 MACH_IT9200 IT9200 1817 | ||
1808 | rd88f5181l_fxo MACH_RD88F5181L_FXO RD88F5181L_FXO 1818 | ||
1809 | kriss_sensor MACH_KRISS_SENSOR KRISS_SENSOR 1819 | ||
1810 | pilz_pmi5 MACH_PILZ_PMI5 PILZ_PMI5 1820 | ||
1811 | jade MACH_JADE JADE 1821 | ||
1812 | ks8695_softplc MACH_KS8695_SOFTPLC KS8695_SOFTPLC 1822 | ||
1813 | gprisc4 MACH_GPRISC4 GPRISC4 1823 | ||
1814 | stamp9260 MACH_STAMP9260 STAMP9260 1824 | ||
diff --git a/include/asm-arm/arch-ns9xxx/hardware.h b/include/asm-arm/arch-ns9xxx/hardware.h index 0b7b34603f1c..0dca11ce21fc 100644 --- a/include/asm-arm/arch-ns9xxx/hardware.h +++ b/include/asm-arm/arch-ns9xxx/hardware.h | |||
@@ -66,13 +66,13 @@ | |||
66 | __REGGET(var, reg ## _ ## field) / __REGSHIFT(reg ## _ ## field) | 66 | __REGGET(var, reg ## _ ## field) / __REGSHIFT(reg ## _ ## field) |
67 | 67 | ||
68 | # define REGGETIM_IDX(var, reg, field, idx) \ | 68 | # define REGGETIM_IDX(var, reg, field, idx) \ |
69 | __REGGET(var, reg ## _ ## field((idx))) / \ | 69 | __REGGET(var, reg ## _ ## field((idx))) / \ |
70 | __REGSHIFT(reg ## _ ## field((idx))) | 70 | __REGSHIFT(reg ## _ ## field((idx))) |
71 | 71 | ||
72 | #else | 72 | #else |
73 | 73 | ||
74 | # define __REG(x) io_p2v(x) | 74 | # define __REG(x) io_p2v(x) |
75 | # define __REG2(x, y) io_p2v((x) + (y)) | 75 | # define __REG2(x, y) io_p2v((x) + 4 * (y)) |
76 | 76 | ||
77 | #endif | 77 | #endif |
78 | 78 | ||
diff --git a/include/asm-arm/kexec.h b/include/asm-arm/kexec.h index 47fe34d692da..c8986bb99ed5 100644 --- a/include/asm-arm/kexec.h +++ b/include/asm-arm/kexec.h | |||
@@ -14,8 +14,6 @@ | |||
14 | 14 | ||
15 | #define KEXEC_ARCH KEXEC_ARCH_ARM | 15 | #define KEXEC_ARCH KEXEC_ARCH_ARM |
16 | 16 | ||
17 | #define KEXEC_BOOT_PARAMS_SIZE 1536 | ||
18 | |||
19 | #define KEXEC_ARM_ATAGS_OFFSET 0x1000 | 17 | #define KEXEC_ARM_ATAGS_OFFSET 0x1000 |
20 | #define KEXEC_ARM_ZIMAGE_OFFSET 0x8000 | 18 | #define KEXEC_ARM_ZIMAGE_OFFSET 0x8000 |
21 | 19 | ||