diff options
author | Beomho Seo <beomho.seo@samsung.com> | 2014-08-22 15:18:43 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 12:00:42 +0900 |
commit | 0141be3dc5e0d0694aa063a012e75e4733a698b7 (patch) | |
tree | 7ff0510c0c2e570c6f35cc9879c9b4a9e8a509dd | |
parent | 04f1ea9e10b7c983d5055035854e4eb44464fec9 (diff) | |
download | linux-3.10-0141be3dc5e0d0694aa063a012e75e4733a698b7.tar.gz linux-3.10-0141be3dc5e0d0694aa063a012e75e4733a698b7.tar.bz2 linux-3.10-0141be3dc5e0d0694aa063a012e75e4733a698b7.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>
-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); |