From 92b50ffef978f05858a0ff4cbe88430bc51a28a2 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 11 Feb 2009 19:55:01 -0500 Subject: cmc_pu2: get mac address from environment The environment is the canonical storage location of the mac address, so we're killing off the global data location and moving everything to querying the env directly. Also rename load_sernum_ethaddr() to misc_init_r() so we don't need to handle this board specially in common ARM code. Signed-off-by: Mike Frysinger CC: Ben Warren --- include/configs/cmc_pu2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/configs/cmc_pu2.h') diff --git a/include/configs/cmc_pu2.h b/include/configs/cmc_pu2.h index d9acb470f..e5c74e136 100644 --- a/include/configs/cmc_pu2.h +++ b/include/configs/cmc_pu2.h @@ -143,6 +143,7 @@ #endif +#define CONFIG_MISC_INIT_R #define CONFIG_SYS_LONGHELP #define AT91_SMART_MEDIA_ALE (1 << 22) /* our ALE is AD22 */ -- cgit v1.2.3