diff --git a/arch/arm/boards/pcm038/lowlevel.c b/arch/arm/boards/pcm038/lowlevel.c index 0ea2939..a3b2d13 100644 --- a/arch/arm/boards/pcm038/lowlevel.c +++ b/arch/arm/boards/pcm038/lowlevel.c @@ -33,11 +33,13 @@ #define ESDCTL0_VAL (ESDCTL0_SDE | ESDCTL0_ROW13 | ESDCTL0_COL10) -void __bare_init __naked barebox_arm_reset_vector(void) +ENTRY_FUNCTION(start_imx27_pcm038)(void) { uint32_t r; int i; + __barebox_arm_head(); + arm_cpu_lowlevel_init(); /* ahb lite ip interface */ diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index 174f0df..522aa6c 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -330,6 +330,7 @@ select DRIVER_SPI_IMX select MFD_MC13XXX select HAVE_DEFAULT_ENVIRONMENT_NEW + select HAVE_PBL_MULTI_IMAGES help Say Y here if you are using Phytec's phyCORE-i.MX27 (pcm038) equipped with a Freescale i.MX27 Processor diff --git a/images/Makefile.imx b/images/Makefile.imx index cd7b610..6334729 100644 --- a/images/Makefile.imx +++ b/images/Makefile.imx @@ -8,3 +8,8 @@ $(call if_changed,imx_image) board = $(srctree)/arch/$(ARCH)/boards + +# ----------------------- i.MX27 based boards --------------------------- +pblx-$(CONFIG_MACH_PCM038) += start_imx27_pcm038 +FILE_barebox-phytec-phycore-imx27.img = start_imx27_pcm038.pblx +image-$(CONFIG_MACH_PCM038) += barebox-phytec-phycore-imx27.img