Commit 00203c64648bb2a7e20dac8cde850de6c1044db6

Authored by Kumar Gala
1 parent 561e710a97

powerpc/85xx: Remove config.mk for nand linker script

Move the include of mpc85xx/u-boot-nand.lds to utilize
CONFIG_SYS_LDSCRIPT rather than having an explicit config.mk

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

Showing 8 changed files with 4 additions and 121 deletions Side-by-side Diff

board/freescale/mpc8536ds/config.mk
1   -#
2   -# Copyright 2008, 2011 Freescale Semiconductor.
3   -#
4   -# See file CREDITS for list of people who contributed to this
5   -# project.
6   -#
7   -# This program is free software; you can redistribute it and/or
8   -# modify it under the terms of the GNU General Public License as
9   -# published by the Free Software Foundation; either version 2 of
10   -# the License, or (at your option) any later version.
11   -#
12   -# This program is distributed in the hope that it will be useful,
13   -# but WITHOUT ANY WARRANTY; without even the implied warranty of
14   -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15   -# GNU General Public License for more details.
16   -#
17   -# You should have received a copy of the GNU General Public License
18   -# along with this program; if not, write to the Free Software
19   -# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20   -# MA 02111-1307 USA
21   -#
22   -
23   -#
24   -# mpc8536ds board
25   -#
26   -ifndef NAND_SPL
27   -ifeq ($(CONFIG_NAND), y)
28   -LDSCRIPT := $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds
29   -endif
30   -endif
board/freescale/mpc8569mds/config.mk
1   -#
2   -# Copyright (C) 2009 Freescale Semiconductor, Inc.
3   -#
4   -# See file CREDITS for list of people who contributed to this
5   -# project.
6   -#
7   -# This program is free software; you can redistribute it and/or
8   -# modify it under the terms of the GNU General Public License as
9   -# published by the Free Software Foundation; either version 2 of
10   -# the License, or (at your option) any later version.
11   -#
12   -# This program is distributed in the hope that it will be useful,
13   -# but WITHOUT ANY WARRANTY; without even the implied warranty of
14   -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15   -# GNU General Public License for more details.
16   -#
17   -# You should have received a copy of the GNU General Public License
18   -# along with this program; if not, write to the Free Software
19   -# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20   -# MA 02111-1307 USA
21   -#
22   -
23   -#
24   -# mpc8569mds board
25   -#
26   -ifndef NAND_SPL
27   -ifeq ($(CONFIG_NAND), y)
28   -LDSCRIPT := $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds
29   -endif
30   -endif
board/freescale/mpc8572ds/config.mk
1   -#
2   -# Copyright 2007-2008,2010-2011 Freescale Semiconductor, Inc.
3   -#
4   -# See file CREDITS for list of people who contributed to this
5   -# project.
6   -#
7   -# This program is free software; you can redistribute it and/or
8   -# modify it under the terms of the GNU General Public License as
9   -# published by the Free Software Foundation; either version 2 of
10   -# the License, or (at your option) any later version.
11   -#
12   -# This program is distributed in the hope that it will be useful,
13   -# but WITHOUT ANY WARRANTY; without even the implied warranty of
14   -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15   -# GNU General Public License for more details.
16   -#
17   -# You should have received a copy of the GNU General Public License
18   -# along with this program; if not, write to the Free Software
19   -# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20   -# MA 02111-1307 USA
21   -#
22   -
23   -#
24   -# mpc8572ds board
25   -#
26   -ifndef NAND_SPL
27   -ifeq ($(CONFIG_NAND), y)
28   -LDSCRIPT := $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds
29   -endif
30   -endif
board/freescale/p1_p2_rdb/config.mk
1   -#
2   -# Copyright 2009, 2011 Freescale Semiconductor, Inc.
3   -#
4   -# See file CREDITS for list of people who contributed to this
5   -# project.
6   -#
7   -# This program is free software; you can redistribute it and/or
8   -# modify it under the terms of the GNU General Public License as
9   -# published by the Free Software Foundation; either version 2 of
10   -# the License, or (at your option) any later version.
11   -#
12   -# This program is distributed in the hope that it will be useful,
13   -# but WITHOUT ANY WARRANTY; without even the implied warranty of
14   -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
15   -# GNU General Public License for more details.
16   -#
17   -# You should have received a copy of the GNU General Public License
18   -# along with this program; if not, write to the Free Software
19   -# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20   -# MA 02111-1307 USA
21   -#
22   -
23   -#
24   -# p1_p2rdb board
25   -#
26   -
27   -ifndef NAND_SPL
28   -ifeq ($(CONFIG_NAND), y)
29   -LDSCRIPT := $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds
30   -endif
31   -endif
include/configs/MPC8536DS.h
... ... @@ -40,6 +40,7 @@
40 40 #define CONFIG_SYS_TEXT_BASE_SPL 0xfff00000
41 41 #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE_SPL /* start of monitor */
42 42 #else
  43 +#define CONFIG_SYS_LDSCRIPT $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds
43 44 #define CONFIG_SYS_TEXT_BASE 0xf8f82000
44 45 #endif /* CONFIG_NAND_SPL */
45 46 #endif
include/configs/MPC8569MDS.h
... ... @@ -72,6 +72,7 @@
72 72 #define CONFIG_SYS_TEXT_BASE_SPL 0xfff00000
73 73 #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE_SPL /* start of monitor */
74 74 #else
  75 +#define CONFIG_SYS_LDSCRIPT $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds
75 76 #define CONFIG_SYS_TEXT_BASE 0xf8f82000
76 77 #endif
77 78 #endif
include/configs/MPC8572DS.h
... ... @@ -40,6 +40,7 @@
40 40 #define CONFIG_SYS_TEXT_BASE_SPL 0xfff00000
41 41 #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE_SPL /* start of monitor */
42 42 #else
  43 +#define CONFIG_SYS_LDSCRIPT $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds
43 44 #define CONFIG_SYS_TEXT_BASE 0xf8f82000
44 45 #endif /* CONFIG_NAND_SPL */
45 46 #endif
include/configs/P1_P2_RDB.h
... ... @@ -50,6 +50,7 @@
50 50 #define CONFIG_SYS_TEXT_BASE_SPL 0xfff00000
51 51 #define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_TEXT_BASE_SPL /* start of monitor */
52 52 #else
  53 +#define CONFIG_SYS_LDSCRIPT $(TOPDIR)/$(CPUDIR)/u-boot-nand.lds
53 54 #define CONFIG_SYS_TEXT_BASE 0xf8f82000
54 55 #endif /* CONFIG_NAND_SPL */
55 56 #endif