* [PATCH v3 27/28] tegra: Mark board init files for ARMv4t
[not found] ` <1329403755-6396-1-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
@ 2012-02-16 14:49 ` Simon Glass
2012-02-16 14:49 ` [PATCH v3 28/28] tegra: Enable generic board for Seaboard Simon Glass
1 sibling, 0 replies; 2+ messages in thread
From: Simon Glass @ 2012-02-16 14:49 UTC (permalink / raw)
To: U-Boot Mailing List
Cc: Wolfgang Denk, Albert ARIBAUD, Graeme Russ, Mike Frysinger,
Simon Glass, Tom Warren, Stephen Warren,
linux-tegra-u79uwXL29TY76Z2rM5mHXA
Since Tegra executes early code on an ARMv4T (but the rest on ARMv7)
we must mark the new board init files for compilation with ARMv4t
architecture.
Signed-off-by: Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
---
arch/arm/cpu/armv7/tegra2/config.mk | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/arch/arm/cpu/armv7/tegra2/config.mk b/arch/arm/cpu/armv7/tegra2/config.mk
index 2303dba..4b43dde 100644
--- a/arch/arm/cpu/armv7/tegra2/config.mk
+++ b/arch/arm/cpu/armv7/tegra2/config.mk
@@ -28,6 +28,8 @@
# file with compatible flags
ifdef CONFIG_TEGRA2
CFLAGS_arch/arm/lib/board.o += -march=armv4t
+CFLAGS_common/board_f.o += -march=armv4t
+CFLAGS_lib/initcall.o += -march=armv4t
endif
USE_PRIVATE_LIBGCC = yes
--
1.7.7.3
^ permalink raw reply related [flat|nested] 2+ messages in thread* [PATCH v3 28/28] tegra: Enable generic board for Seaboard.
[not found] ` <1329403755-6396-1-git-send-email-sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
2012-02-16 14:49 ` [PATCH v3 27/28] tegra: Mark board init files for ARMv4t Simon Glass
@ 2012-02-16 14:49 ` Simon Glass
1 sibling, 0 replies; 2+ messages in thread
From: Simon Glass @ 2012-02-16 14:49 UTC (permalink / raw)
To: U-Boot Mailing List
Cc: Wolfgang Denk, Albert ARIBAUD, Graeme Russ, Mike Frysinger,
Simon Glass, Tom Warren, Stephen Warren,
linux-tegra-u79uwXL29TY76Z2rM5mHXA
Enable CONFIG_SYS_GENERIC_BOARD for Tegra 2 Seaboard.
Signed-off-by: Simon Glass <sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>
---
Changes in v2:
- Add CONFIG_SYS_GENERIC_BOARD to allow board to select generic board
- Add PowerPC support
- Change generic board to an opt-in system on a per-board basic
- Rebase to master
Changes in v3:
- Rebase on top of x86/master (which has not yet been pulled to master)
- Rebase to master
include/configs/seaboard.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h
index 261f952..11d9e8d 100644
--- a/include/configs/seaboard.h
+++ b/include/configs/seaboard.h
@@ -27,6 +27,8 @@
#include <asm/sizes.h>
#include "tegra2-common.h"
+#define CONFIG_SYS_GENERIC_BOARD
+
/* High-level configuration options */
#define TEGRA2_SYSMEM "mem=384M@0M nvmem=128M@384M mem=512M@512M"
#define V_PROMPT "Tegra2 (SeaBoard) # "
--
1.7.7.3
^ permalink raw reply related [flat|nested] 2+ messages in thread