Skip to content
Snippets Groups Projects
Commit 5b47f2d9 authored by Oleksandr Tyshchenko's avatar Oleksandr Tyshchenko Committed by Tom Rini
Browse files

sdp4430: Initialize board id using CONFIG_MACH_TYPE


Use CONFIG_MACH_TYPE generic macro to set the machine type
number in the common arm code instead of setting it in the
board code.

Signed-off-by: default avatarOleksandr Tyshchenko <oleksandr.tyshchenko@ti.com>
parent 9ed887ca
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,6 @@ int board_init(void)
{
gpmc_init();
gd->bd->bi_arch_number = MACH_TYPE_OMAP_4430SDP;
gd->bd->bi_boot_params = (0x80000000 + 0x100); /* boot param addr */
return 0;
......
......@@ -17,6 +17,7 @@
* High Level Configuration Options
*/
#define CONFIG_4430SDP 1 /* working with SDP */
#define CONFIG_MACH_TYPE MACH_TYPE_OMAP_4430SDP
#include <configs/omap4_common.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment