diff options
author | Beomho Seo <beomho.seo@samsung.com> | 2014-08-22 15:18:43 +0900 |
---|---|---|
committer | Beomho Seo <beomho.seo@samsung.com> | 2014-08-29 17:27:36 +0900 |
commit | 54f230b32c1237c5438d8e3b4290b4b1429abd51 (patch) | |
tree | bbbe415e29596cb25a2688f90c88c77eb4a84287 /arch | |
parent | a8cce6eb855c2945e4674ca33b74b7c39a2a02d0 (diff) | |
download | linux-3.10-54f230b32c1237c5438d8e3b4290b4b1429abd51.tar.gz linux-3.10-54f230b32c1237c5438d8e3b4290b4b1429abd51.tar.bz2 linux-3.10-54f230b32c1237c5438d8e3b4290b4b1429abd51.zip |
ARM: use get machine revision function for get sys_revision property
'system_rev' is revision information of board/machine.
Arm architecture defines variable 'system_rev' but not assigned.
So This patch use of_flat_dt_get_machine_rev() for get 'sys_revision'
from device tree.
Change-Id: Ifa6cc0704c109457e779d4e68f33ab67740282f9
Signed-off-by: Beomho Seo <beomho.seo@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/kernel/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 6620dae0002..e14058fb495 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c @@ -788,6 +788,7 @@ void __init setup_arch(char **cmdline_p) mdesc = setup_machine_tags(__atags_pointer, __machine_arch_type); machine_desc = mdesc; machine_name = of_flat_dt_get_machine_name(); + system_rev = of_flat_dt_get_machine_rev(); setup_dma_zone(mdesc); |