El Mon, 12 Mar 2012 14:11:49 -0500 Mark Langsdorf <mark.langsdorf@xxxxxxxxxxx> escribió: > Create a working config file for highbank and add highbank to the > spec file. > > Signed-off-by: Mark Langsdorf <mark.langsdorf@xxxxxxxxxxx> > --- > Changes from v1 > Minimized config-arm-highbank to only new options > Added highbank-export-clock-functions.patch > Adjusted spec file to account for the added patch > > SOURCES/config-arm-highbank | 36 > ++++++++++++++++++++- SOURCES/highbank-export-clock-functions.patch > | 43 +++++++++++++++++++++++++ > SPECS/kernel.spec | 14 ++++++-- 3 files > changed, 89 insertions(+), 4 deletions(-) create mode 100644 > SOURCES/highbank-export-clock-functions.patch > > diff --git a/SOURCES/config-arm-highbank b/SOURCES/config-arm-highbank > index 18fc0c4..c20f104 100644 > --- a/SOURCES/config-arm-highbank > +++ b/SOURCES/config-arm-highbank > @@ -1,3 +1,37 @@ > -ONFIG_ARCH_HIGHBANK=y > +CONFIG_ARCH_HIGHBANK=y > +# CONFIG_ARM_LPAE is not set > +# CONFIG_ARM_THUMBEE is not set > +CONFIG_SWP_EMULATE=y > +# CONFIG_CPU_BPREDICT_DISABLE is not set > +# CONFIG_ARM_ERRATA_430973 is not set > +# CONFIG_ARM_ERRATA_458693 is not set > +# CONFIG_ARM_ERRATA_460075 is not set > +# CONFIG_PL310_ERRATA_588369 is not set > +# CONFIG_PL310_ERRATA_727915 is not set > +# CONFIG_ARM_ERRATA_743622 is not set > +# CONFIG_PL310_ERRATA_753970 is not set > +# CONFIG_ARM_ERRATA_754322 is not set > +# CONFIG_PL310_ERRATA_769419 is not set > + > +# CONFIG_THUMB2_KERNEL is not set > + > +CONFIG_ARM_TIMER_SP804=y > + > CONFIG_VFP=y > +CONFIG_VFPv3=y > CONFIG_NEON=y > + > +CONFIG_SATA_AHCI_PLATFORM=y > +CONFIG_ATA_SFF=y > + > +CONFIG_ETHERNET=y > +CONFIG_NET_VENDOR_BROADCOM=y > +CONFIG_NET_CALXEDA_XGMAC=y > + > +CONFIG_GPIO_PL061=y > + > +CONFIG_SERIAL_AMBA_PL010=y > +CONFIG_SERIAL_AMBA_PL010_CONSOLE=y > + > +# CONFIG_DVB_TDA1004X is not set > +# CONFIG_DVB_PLL is not set > diff --git a/SOURCES/highbank-export-clock-functions.patch > b/SOURCES/highbank-export-clock-functions.patch new file mode 100644 > index 0000000..f66754d > --- /dev/null > +++ b/SOURCES/highbank-export-clock-functions.patch > @@ -0,0 +1,43 @@ > +From 81a06eed2491273b7d6d274ae4be1d333c100ab0 Mon Sep 17 00:00:00 > 2001 +From: Mark Langsdorf <mark.langsdorf@xxxxxxxxxxx> > +Date: Mon, 12 Mar 2012 06:28:19 -0400 > +Subject: [PATCH] highbank: export clock functions > + > +Signed-off-by: Mark Langsdorf <mark.langsdorf@xxxxxxxxxxx> > +--- > + arch/arm/mach-highbank/clock.c | 4 ++++ > + 1 files changed, 4 insertions(+), 0 deletions(-) > + > +diff --git diff -up > linux-3.2-rc4.orig/arch/arm/mach-highbank/clock.c diff -up > linux-3.2-rc4/arch/arm/mach-highbank/clock.c +index c25a2ae..cdbc575 > 100644 +--- a/arch/arm/mach-highbank/clock.c ++++ > b/arch/arm/mach-highbank/clock.c +@@ -27,14 +27,17 @@ int > clk_enable(struct clk *clk) > + { > + return 0; > + } > ++EXPORT_SYMBOL_GPL(clk_enable); > + > + void clk_disable(struct clk *clk) > + {} > ++EXPORT_SYMBOL_GPL(clk_disable); > + > + unsigned long clk_get_rate(struct clk *clk) > + { > + return clk->rate; > + } > ++EXPORT_SYMBOL_GPL(clk_get_rate); > + > + long clk_round_rate(struct clk *clk, unsigned long rate) > + { > +@@ -45,6 +48,7 @@ int clk_set_rate(struct clk *clk, unsigned long > rate) > + { > + return 0; > + } > ++EXPORT_SYMBOL_GPL(clk_set_rate); > + > + static struct clk eclk = { .rate = 200000000 }; > + static struct clk pclk = { .rate = 150000000 }; > +-- > +1.7.9.1 > + > diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec > index e4ee511..486b7fb 100644 > --- a/SPECS/kernel.spec > +++ b/SPECS/kernel.spec > @@ -269,10 +269,8 @@ Summary: The Linux kernel > %define with_tegra 0 > %define with_omap 0 > %define with_imx 0 > -%endif > - > -# disable highbank ARM kernels for the time being > %define with_highbank 0 > +%endif > > # kernel-kirkwood is only built for armv5 > %ifnarch armv5tel > @@ -747,6 +745,10 @@ Patch21000: arm-omap-dt-compat.patch > Patch21001: > arm-smsc-support-reading-mac-address-from-device-tree.patch > Patch21004: arm-tegra-nvec-kconfig.patch > +# highbank patches > +# Highbank clock functions need to be EXPORT for module builds > +Patch21010: highbank-export-clock-functions.patch > + > Patch21070: ext4-Support-check-none-nocheck-mount-options.patch > > Patch21092: > udlfb-remove-sysfs-framebuffer-device-with-USB-disconnect.patch @@ > -1506,6 +1508,9 @@ ApplyPatch > disable-threading-in-compression-for-hibernate.patch ApplyPatch > unhandled-irqs-switch-to-polling.patch > +#Highbank clock functions > +ApplyPatch highbank-export-clock-functions.patch > + > # END OF PATCH APPLICATIONS > > %endif > @@ -2377,6 +2382,9 @@ fi > # ||----w | > # || || > %changelog > +* Mon Mar 12 2012 Mark Langsdorf <mark.langsdorf@xxxxxxxxxxx> > +- Re-enable highbank config option and add new config file to > support it + > * Wed Mar 07 2012 Dave Jones <davej@xxxxxxxxxx> - 3.3.0-0.rc6.git2.2 > - Disable debugging options. > Ive applied this to both f17 and master branches Dennis _______________________________________________ arm mailing list arm@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/arm