diff options
author | Kevin Hilman <khilman@linaro.org> | 2014-12-15 16:59:43 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@linaro.org> | 2014-12-15 16:59:43 -0500 |
commit | 1888d2fa314033755026ceddee1fff8f80659fe4 (patch) | |
tree | b0085323f5db6dca5f259b92038e27843c5a43a6 /scripts | |
parent | 9d312cd12e89ce08add99fe66e8f6baeaca16d7d (diff) | |
parent | 661ea91b676bcca137c1c3fe838997925ce98060 (diff) |
Merge tag 'omap-for-v3.19/fixes-for-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes
From: Tony Lindgren <tony@atomide.com>
Subject: [GIT PULL] few fixes for the v3.19 merge window
Fixes for a few issues found that would be good to get
into -rc1:
- Update SoC revision detection for am43x es1.2
- Fix regression with GPMC timings on 2430sdp for some versions
of u-boot
- Fix dra7 watchdog compatible property
- Fix am437x-sk-evm LCD timings
- Fix dra7 DSS clock muxing
- Fix dra7-evm voltages
- Remove a unused function prototype for am33xx_clk_init
- Enable AHCI in the omap2plus_defconfig
* tag 'omap-for-v3.19/fixes-for-merge-window' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (1601 commits)
ARM: omap2plus_defconfig: Enable AHCI_PLATFORM driver
ARM: dts: am437x-sk-evm.dts: fix LCD timings
ARM: dts: dra7-evm: Update SMPS7 (VDD_CORE) max voltage to match DM
ARM: dts: dra7-evm: Fix typo in SMPS6 (VDD_GPU) max voltage
ARM: OMAP2+: AM43x: Add ID for ES1.2
ARM: dts: am437x-sk: fix lcd enable pin mux data
ARM: dts: Fix gpmc regression for omap 2430sdp smc91x
hwmon: (tmp401) Detect TMP435 on all addresses it supports
mfd: rtsx: Add func to split u32 into register
mmc: sdhci-msm: Convert to mmc_send_tuning()
mmc: sdhci-esdhc-imx: Convert to mmc_send_tuning()
mmc: core: Let mmc_send_tuning() to take struct mmc_host* as parameter
nios2: Make NIOS2_CMDLINE_IGNORE_DTB depend on CMDLINE_BOOL
nios2: Add missing NR_CPUS to Kconfig
nios2: asm-offsets: Remove unused definition TI_TASK
nios2: Remove write-only struct member from nios2_timer
nios2: Remove unused extern declaration of shm_align_mask
nios2: include linux/type.h in io.h
nios2: move include asm-generic/io.h to end of file
nios2: remove include asm-generic/iomap.h from io.h
...
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Kbuild.include | 6 | ||||
-rw-r--r-- | scripts/Makefile.dtbinst | 51 | ||||
-rw-r--r-- | scripts/Makefile.lib | 12 |
3 files changed, 57 insertions, 12 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 65e7b08bb2cc..5374b1bdf02f 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include | |||
@@ -179,6 +179,12 @@ build := -f $(srctree)/scripts/Makefile.build obj | |||
179 | # $(Q)$(MAKE) $(modbuiltin)=dir | 179 | # $(Q)$(MAKE) $(modbuiltin)=dir |
180 | modbuiltin := -f $(srctree)/scripts/Makefile.modbuiltin obj | 180 | modbuiltin := -f $(srctree)/scripts/Makefile.modbuiltin obj |
181 | 181 | ||
182 | ### | ||
183 | # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.dtbinst obj= | ||
184 | # Usage: | ||
185 | # $(Q)$(MAKE) $(dtbinst)=dir | ||
186 | dtbinst := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.dtbinst obj | ||
187 | |||
182 | # Prefix -I with $(srctree) if it is not an absolute path. | 188 | # Prefix -I with $(srctree) if it is not an absolute path. |
183 | # skip if -I has no parameter | 189 | # skip if -I has no parameter |
184 | addtree = $(if $(patsubst -I%,%,$(1)), \ | 190 | addtree = $(if $(patsubst -I%,%,$(1)), \ |
diff --git a/scripts/Makefile.dtbinst b/scripts/Makefile.dtbinst new file mode 100644 index 000000000000..909ed7a2ac61 --- /dev/null +++ b/scripts/Makefile.dtbinst | |||
@@ -0,0 +1,51 @@ | |||
1 | # ========================================================================== | ||
2 | # Installing dtb files | ||
3 | # | ||
4 | # Installs all dtb files listed in $(dtb-y) either in the | ||
5 | # INSTALL_DTBS_PATH directory or the default location: | ||
6 | # | ||
7 | # $INSTALL_PATH/dtbs/$KERNELRELEASE | ||
8 | # | ||
9 | # Traverse through subdirectories listed in $(dts-dirs). | ||
10 | # ========================================================================== | ||
11 | |||
12 | src := $(obj) | ||
13 | |||
14 | PHONY := __dtbs_install | ||
15 | __dtbs_install: | ||
16 | |||
17 | export dtbinst-root ?= $(obj) | ||
18 | |||
19 | include include/config/auto.conf | ||
20 | include scripts/Kbuild.include | ||
21 | include $(srctree)/$(obj)/Makefile | ||
22 | |||
23 | PHONY += __dtbs_install_prep | ||
24 | __dtbs_install_prep: | ||
25 | ifeq ("$(dtbinst-root)", "$(obj)") | ||
26 | $(Q)if [ -d $(INSTALL_DTBS_PATH).old ]; then rm -rf $(INSTALL_DTBS_PATH).old; fi | ||
27 | $(Q)if [ -d $(INSTALL_DTBS_PATH) ]; then mv $(INSTALL_DTBS_PATH) $(INSTALL_DTBS_PATH).old; fi | ||
28 | $(Q)mkdir -p $(INSTALL_DTBS_PATH) | ||
29 | endif | ||
30 | |||
31 | dtbinst-files := $(dtb-y) | ||
32 | dtbinst-dirs := $(dts-dirs) | ||
33 | |||
34 | # Helper targets for Installing DTBs into the boot directory | ||
35 | quiet_cmd_dtb_install = INSTALL $< | ||
36 | cmd_dtb_install = mkdir -p $(2); cp $< $(2) | ||
37 | |||
38 | install-dir = $(patsubst $(dtbinst-root)%,$(INSTALL_DTBS_PATH)%,$(obj)) | ||
39 | |||
40 | $(dtbinst-files) $(dtbinst-dirs): | __dtbs_install_prep | ||
41 | |||
42 | $(dtbinst-files): %.dtb: $(obj)/%.dtb | ||
43 | $(call cmd,dtb_install,$(install-dir)) | ||
44 | |||
45 | $(dtbinst-dirs): | ||
46 | $(Q)$(MAKE) $(dtbinst)=$(obj)/$@ | ||
47 | |||
48 | PHONY += $(dtbinst-files) $(dtbinst-dirs) | ||
49 | __dtbs_install: $(dtbinst-files) $(dtbinst-dirs) | ||
50 | |||
51 | .PHONY: $(PHONY) | ||
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 54be19a0fa51..511755200634 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib | |||
@@ -283,18 +283,6 @@ $(obj)/%.dtb: $(src)/%.dts FORCE | |||
283 | 283 | ||
284 | dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp) | 284 | dtc-tmp = $(subst $(comma),_,$(dot-target).dts.tmp) |
285 | 285 | ||
286 | # Helper targets for Installing DTBs into the boot directory | ||
287 | quiet_cmd_dtb_install = INSTALL $< | ||
288 | cmd_dtb_install = cp $< $(2) | ||
289 | |||
290 | _dtbinst_pre_: | ||
291 | $(Q)if [ -d $(INSTALL_DTBS_PATH).old ]; then rm -rf $(INSTALL_DTBS_PATH).old; fi | ||
292 | $(Q)if [ -d $(INSTALL_DTBS_PATH) ]; then mv $(INSTALL_DTBS_PATH) $(INSTALL_DTBS_PATH).old; fi | ||
293 | $(Q)mkdir -p $(INSTALL_DTBS_PATH) | ||
294 | |||
295 | %.dtb_dtbinst_: $(obj)/%.dtb _dtbinst_pre_ | ||
296 | $(call cmd,dtb_install,$(INSTALL_DTBS_PATH)) | ||
297 | |||
298 | # Bzip2 | 286 | # Bzip2 |
299 | # --------------------------------------------------------------------------- | 287 | # --------------------------------------------------------------------------- |
300 | 288 | ||