Message ID | 1307373920-19492-1-git-send-email-fabio.estevam@freescale.com |
---|---|
State | Accepted |
Commit | 43f13e4ad7b5fb5606d6cf4a902b2ccf9c67277c |
Headers | show |
On 06/06/2011 05:25 PM, Fabio Estevam wrote: > Local board config.mk should be avoided. > > Place CONFIG_SYS_TEXT_BASE definition into the board config file instead. > > Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic
diff --git a/board/logicpd/imx27lite/config.mk b/board/logicpd/imx27lite/config.mk deleted file mode 100644 index 018d920..0000000 --- a/board/logicpd/imx27lite/config.mk +++ /dev/null @@ -1,5 +0,0 @@ -# with relocation CONFIG_SYS_TEXT_BASE can be anything, and making it 0 -# makes relative and absolute relocation fixups interchangeable. -#CONFIG_SYS_TEXT_BASE = 0 - -CONFIG_SYS_TEXT_BASE = 0xc0000000 diff --git a/include/configs/imx27lite-common.h b/include/configs/imx27lite-common.h index bc1fa00..8d93277 100644 --- a/include/configs/imx27lite-common.h +++ b/include/configs/imx27lite-common.h @@ -34,6 +34,8 @@ #define CONFIG_DISPLAY_BOARDINFO #define CONFIG_DISPLAY_CPUINFO +#define CONFIG_SYS_TEXT_BASE 0xc0000000 + #define CONFIG_CMDLINE_TAG 1 /* enable passing of ATAGs */ #define CONFIG_SETUP_MEMORY_TAGS 1 #define CONFIG_INITRD_TAG 1
Local board config.mk should be avoided. Place CONFIG_SYS_TEXT_BASE definition into the board config file instead. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> --- board/logicpd/imx27lite/config.mk | 5 ----- include/configs/imx27lite-common.h | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 board/logicpd/imx27lite/config.mk