From b36f457c1bc726f4452fdc55230a067c1704eaf8 Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Wed, 4 Dec 2013 09:27:35 +0100 Subject: arm: omap3: Remove bootargs mem_size handling The memory size is autodetected and is passed to the Linux kernel either via ATAGs or device-tree (dtb). So there is no need to pass it via the bootargs. Signed-off-by: Stefan Roese Cc: Tapani Utriainen Cc: Thorsten Eisbein Cc: Tom Rini --- board/technexion/tao3530/tao3530.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'board/technexion') diff --git a/board/technexion/tao3530/tao3530.c b/board/technexion/tao3530/tao3530.c index 9268d38877..814537bd7a 100644 --- a/board/technexion/tao3530/tao3530.c +++ b/board/technexion/tao3530/tao3530.c @@ -133,18 +133,6 @@ int misc_init_r(void) dieid_num_r(); - /* Set memory size environment variable, depending on revision */ - switch (tao3530_revision()) { - case 0x2: /* Rev C1 -- 256MB */ - setenv("mem_size", "mem=256M"); - break; - case 0x3: /* Rev A2/B2 -- 128MB */ - setenv("mem_size", "mem=128M"); - break; - default: - printf("Warning: Unknown TAO3530 rev, setting mem=128M\n"); - } - return 0; } -- cgit v1.2.1