powerpc/85xx:Add PSC9131 RDB Support
PATCH 1/1 powerpc/85xx:Add PSC9131 RDB Support
PSC9131RDB is a Freescale reference design board for PSC9131 SoC. PSC9131 SOC is an integrated device that targets Femto base station market. It combines Power Architecture e500v2 and DSP StarCore SC3850 core technologies with MAPLE-B2F baseband acceleration processing elements
PSC9131RDB Overview
-----------------
-1Gbyte DDR3 (on board DDR)
-128Mbyte 2K page size NAND Flash
-256 Kbit M24256 I2C EEPROM
-128 Mbit SPI Flash memory
-USB-ULPI
-eTSEC1: Connected to RGMII PHY
-eTSEC2: Connected to RGMII PHY
-DUART interface: supports one UARTs up to 115200 bps for console display
Apart from the above it also consists various peripherals to support DSP functionalities.
This patch adds support for mainly Power side functionalities and peripherals
---
Applied on git://git.denx.de/u-boot.git (branch master)
board/freescale/psc9131rdb/Makefile | 54 +++ board/freescale/psc9131rdb/ddr.c | 186 +++++++++ board/freescale/psc9131rdb/law.c | 31 ++ board/freescale/psc9131rdb/psc9131rdb.c | 116 ++++++ board/freescale/psc9131rdb/tlb.c | 67 ++++ boards.cfg | 2 + doc/README.psc9131rdb | 137 +++++++ include/configs/PSC9131RDB.h | 484 +++++++++++++++++++++++ nand_spl/board/freescale/psc9131rdb/Makefile | 145 +++++++ nand_spl/board/freescale/psc9131rdb/nand_boot.c | 122 ++++++ 10 files changed, 1344 insertions(+), 0 deletions(-) create mode 100644 board/freescale/psc9131rdb/Makefile create mode 100644 board/freescale/psc9131rdb/ddr.c create mode 100644 board/freescale/psc9131rdb/law.c create mode 100644 board/freescale/psc9131rdb/psc9131rdb.c create mode 100644 board/freescale/psc9131rdb/tlb.c create mode 100644 doc/README.psc9131rdb create mode 100644 include/configs/PSC9131RDB.h create mode 100644 nand_spl/board/freescale/psc9131rdb/Makefile create mode 100644 nand_spl/board/freescale/psc9131rdb/nand_boot.c
board/freescale/psc9131rdb/Makefile new file +54 -0
@@ -0,0 +1,54 @@ +# +# Copyright 2011-2012 Freescale Semiconductor, Inc. +# +# See file CREDITS for list of people who contributed to this +# project. +# +# This program is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, +# MA 02111-1307 USA +# + +include $(TOPDIR)/config.mk + +LIB = $(obj)lib$(BOARD).o + +COBJS-y += $(BOARD).o +COBJS-y += ddr.o +COBJS-y += law.o +COBJS-y += tlb.o +#COBJS-y += psc9131rdb_mux.o + +SRCS := $(SOBJS:.o=.S) $(COBJS-y:.o=.c) +OBJS := $(addprefix $(obj),$(COBJS-y)) +SOBJS := $(addprefix $(obj),$(SOBJS)) + +$(LIB): $(obj).depend $(OBJS) $(SOBJS) + $(call cmd_link_o_target, $(OBJS)) + +clean: + rm -f $(OBJS) $(SOBJS) + +distclean: clean + rm -f $(LIB) core *.bak .depend + +######################################################################### + +# defines $(obj).depend target +include $(SRCTREE)/rules.mk + +sinclude $(obj).depend + +######################################################################### +
board/freescale/psc9131rdb/ddr.c new file +186 -0
186 lines not on this page · raw message
board/freescale/psc9131rdb/law.c new file +31 -0
@@ -0,0 +1,31 @@ +/* +* Copyright 2011-2012 Freescale Semiconductor, Inc. +* +* See file CREDITS for list of people who contributed to this +* project. +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License as +* published by the Free Software Foundation; either version 2 of +* the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place, Suite 330, Boston, +* MA 02111-1307 USA +*/ + +#include <common.h> +#include <asm/fsl_law.h> +#include <asm/mmu.h> + +struct law_entry law_table[] = { +SET_LAW (CONFIG_SYS_NAND_BASE_PHYS ,LAW_SIZE_1M ,LAW_TRGT_IF_IFC ), +}; + +int num_law_entries =ARRAY_SIZE (law_table);
board/freescale/psc9131rdb/psc9131rdb.c new file +116 -0
116 lines not on this page · raw message
board/freescale/psc9131rdb/tlb.c new file +67 -0
67 lines not on this page · raw message
boards.cfg +2 -0
@@ -755,6 +755,8 @@ P5020DS_NAND powerpc mpc85xx corenet_ds freescale - P5020DS_SDCARD powerpc mpc85xx corenet_ds freescale - P5020DS:RAMBOOT_PBL,SDCARD,SYS_TEXT_BASE=0xFFF80000 P5020DS_SECURE_BOOT powerpc mpc85xx corenet_ds freescale - P5020DS:SECURE_BOOT P5020DS_SPIFLASH powerpc mpc85xx corenet_ds freescale - P5020DS:RAMBOOT_PBL,SPIFLASH,SYS_TEXT_BASE=0xFFF80000 +PSC9131RDB_NAND powerpc mpc85xx psc9131rdb freescale - PSC9131RDB:PSC9131RDB,NAND +PSC9131RDB_SPIFLASH powerpc mpc85xx psc9131rdb freescale - PSC9131RDB:PSC9131RDB,SPIFLASH stxgp3 powerpc mpc85xx stxgp3 stx stxssa powerpc mpc85xx stxssa stx - stxssa stxssa_4M powerpc mpc85xx stxssa stx - stxssa:STXSSA_4M
doc/README.psc9131rdb new file +137 -0
137 lines not on this page · raw message
include/configs/PSC9131RDB.h new file +484 -0
484 lines not on this page · raw message
nand_spl/board/freescale/psc9131rdb/Makefile new file +145 -0
145 lines not on this page · raw message
nand_spl/board/freescale/psc9131rdb/nand_boot.c new file +122 -0
122 lines not on this page · raw message
Signature · 1 line
1.7.5.4
PATCH 1/1 powerpc/85xx:Add PSC9131 RDB Support
Dear Prabhakar Kushwaha,
Quoted 41 lines · In message <[email protected]> you…
PSC9131RDB is a Freescale reference design board for PSC9131 SoC. PSC9131 SOC is an integrated device that targets Femto base station market. It combines Power Architecture e500v2 and DSP StarCore SC3850 core technologies with MAPLE-B2F baseband acceleration processing elements
PSC9131RDB Overview
-----------------
-1Gbyte DDR3 (on board DDR)
-128Mbyte 2K page size NAND Flash
-256 Kbit M24256 I2C EEPROM
-128 Mbit SPI Flash memory
-USB-ULPI
-eTSEC1: Connected to RGMII PHY
-eTSEC2: Connected to RGMII PHY
-DUART interface: supports one UARTs up to 115200 bps for console display
Apart from the above it also consists various peripherals to support DSP functionalities.This patch adds support for mainly Power side functionalities and peripherals
Signed-off-by Ramneek Mehresh <[email protected]>Signed-off-by Priyanka Jain <[email protected]>Signed-off-by Akhil Goyal <[email protected]>Signed-off-by Rajan Srivastava <[email protected]>Signed-off-by Poonam Aggrwal <[email protected]>Signed-off-by Prabhakar Kushwaha <[email protected]>---
Applied ongit://git.denx.de/u-boot.git(branch master)board/freescale/psc9131rdb/Makefile | 54 +++ board/freescale/psc9131rdb/ddr.c | 186 +++++++++ board/freescale/psc9131rdb/law.c | 31 ++ board/freescale/psc9131rdb/psc9131rdb.c | 116 ++++++ board/freescale/psc9131rdb/tlb.c | 67 ++++ boards.cfg | 2 + doc/README.psc9131rdb | 137 +++++++ include/configs/PSC9131RDB.h | 484 +++++++++++++++++++++++ nand_spl/board/freescale/psc9131rdb/Makefile | 145 +++++++ nand_spl/board/freescale/psc9131rdb/nand_boot.c | 122 ++++++ 10 files changed, 1344 insertions(+), 0 deletions(-) create mode 100644 board/freescale/psc9131rdb/Makefile
Quoted 8 lines
create mode 100644 board/freescale/psc9131rdb/ddr.c create mode 100644 board/freescale/psc9131rdb/law.c create mode 100644 board/freescale/psc9131rdb/psc9131rdb.c create mode 100644 board/freescale/psc9131rdb/tlb.c create mode 100644 doc/README.psc9131rdb create mode 100644 include/configs/PSC9131RDB.h create mode 100644 nand_spl/board/freescale/psc9131rdb/Makefile create mode 100644 nand_spl/board/freescale/psc9131rdb/nand_boot.c
Entry to MAINTAINERS missing.
Quoted 4 lines
new file mode 100644
index 0000000..0d01b8dboard/freescale/psc9131rdb/Makefile new file +0
-0
...
board/freescale/psc9131rdb/Makefile
Quoted 2 lines
board/freescale/psc9131rdb/Makefile new file +2
-0+######################################################################### +
Please don't add trailing empty lines.
...
board/freescale/psc9131rdb/Makefile
Quoted 4 lines
board/freescale/psc9131rdb/Makefile new file +4
-0+unsigned long get_sdram_size(void) +{ + return CONFIG_SYS_DRAM_SIZE; +}
Please use get_ram_size() instead of a hardcoded setting.
board/freescale/psc9131rdb/Makefile
Quoted 3 lines
board/freescale/psc9131rdb/Makefile new file +3
-0+ if (fixed_ddr_parm_0[i].max_freq == 0) + panic("Unsupported DDR data rate %s MT/s data rate\n", + strmhz(buf, ddr_freq));
Braces needed for multi-line statement.
board/freescale/psc9131rdb/Makefile
Quoted 6 lines
board/freescale/psc9131rdb/Makefile new file +6
-0+int checkboard(void) +{ + struct cpu_type *cpu; + + cpu = gd->cpu; + printf("Board: %sRDB\n", cpu->name);
What exactly gets printed here?
Quoted 2 lines
board/freescale/psc9131rdb/Makefile new file +2
-0+int board_eth_init(bd_t *bis) +{
...
board/freescale/psc9131rdb/Makefile
Quoted 4 lines
board/freescale/psc9131rdb/Makefile new file +4
-0+ fsl_pq_mdio_init(bis, &mdio_info); + tsec_eth_init(bis, tsec_info, num); + + return 0;
return num; ??
Quoted 5 lines
+/*
+ * Memory map
+ *
+ * 0x0000_0000 0x3FFF_FFFF DDR 1G cacheable
+ * 0x8800_0000 0x8810_0000 NAND memory 1M
Can you please explain to me what "NAND memory" is? I must admit that I never heard of that - I always thought NAND was only available as storage devices with a command based controller interface?
...
board/freescale/psc9131rdb/Makefile
Quoted 6 lines
board/freescale/psc9131rdb/Makefile new file +6
-0+/* NAND boot: 8K NAND loader config */ +#define CONFIG_SYS_NAND_SPL_SIZE 0x2000 +#define CONFIG_SYS_NAND_U_BOOT_SIZE (512 << 10) +#define CONFIG_SYS_NAND_U_BOOT_DST (0x11000000 - CONFIG_SYS_NAND_SPL_SIZE) +#define CONFIG_SYS_NAND_U_BOOT_START 0x11000000 +#define CONFIG_SYS_NAND_U_BOOT_OFFS (0)
Please don't use parens around simple values.
Quoted 1 line
+/* Seconed UART port is connected to GPS */
Typo.
board/freescale/psc9131rdb/Makefile
Quoted 2 lines
board/freescale/psc9131rdb/Makefile new file +2
-0+/* I2C EEPROM */ +#undef CONFIG_ID_EEPROM
Please do not undef what is not defined anyway.
board/freescale/psc9131rdb/Makefile
Quoted 3 lines
board/freescale/psc9131rdb/Makefile new file +3
-0+#ifndef CONFIG_NET_MULTI +#define CONFIG_NET_MULTI +#endif
Obsolete - please remove.
Quoted 7 lines
board/freescale/psc9131rdb/Makefile new file +7
-0+/* + * Command line configuration. + */ +#include <config_cmd_default.h> + +#define CONFIG_CMD_ERRATA +#define CONFIG_CMD_ELF
board/freescale/psc9131rdb/Makefile
Quoted 10 lines
board/freescale/psc9131rdb/Makefile new file +10
-0+#define CONFIG_CMD_IRQ +#define CONFIG_CMD_MII +#define CONFIG_CMD_PING +#define CONFIG_CMD_SETEXPR +#define CONFIG_CMD_REGINFO +#define CONFIG_CMD_DHCP +#undef CONFIG_WATCHDOG /* watchdog disabled */ +#define CONFIG_CMD_EXT2 +#define CONFIG_CMD_FAT +#define CONFIG_DOS_PARTITION
How about sorting these? And again: do not undef what is not defined.
board/freescale/psc9131rdb/Makefile
Quoted 4 lines
+ * Boot Flags
+ */board/freescale/psc9131rdb/Makefile new file +2
-0+#define BOOTFLAG_COLD 0x01 /* Normal Power-On: Boot from FLASH */ +#define BOOTFLAG_WARM 0x02 /* Software reboot */
Bogus, please remove.
board/freescale/psc9131rdb/Makefile
Quoted 5 lines
board/freescale/psc9131rdb/Makefile new file +5
-0+#if defined(CONFIG_TSEC_ENET) +#define CONFIG_HAS_ETH0 +#endif + +
Only one blank line in places like this.
board/freescale/psc9131rdb/Makefile
Quoted 4 lines
board/freescale/psc9131rdb/Makefile new file +4
-0+#define CONFIG_HOSTNAME 9131rdb +#define CONFIG_ROOTPATH "/opt/nfsroot" +#define CONFIG_BOOTFILE "uImage" +#define CONFIG_UBOOTPATH u-boot.bin /* U-Boot image on TFTP server */
CONFIG_ options are kind of special; if you define new ones (which should only be done when it really makes sense - this appears not to be the case here) you must also add documentation for these to the README.
Also, please stick with a common format - these are all strings, so they all should be quoted (this saves you a few calls to MK_STR() further down below).
Finally, while strictly legal according to rfc1123, it is pretty unusal to have a host name start with digits - please follow the common style used by other Freescale boards.
board/freescale/psc9131rdb/Makefile
Quoted 5 lines
board/freescale/psc9131rdb/Makefile new file +5
-0+/* default location for tftp and bootm */ +#define CONFIG_LOADADDR 1000000 + +#define CONFIG_BOOTDELAY 10 /* -1 disables auto-boot */ +#define CONFIG_BOOTARGS /* the boot command will set bootargs */
Drop this bogus #define.
Best regards,
Wolfgang Denk
Signature · 6 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"I find this a nice feature but it is not according to the documen-
tation. Or is it a BUG?" "Let's call it an accidental feature. :-)"
- Larry Wall in <[email protected]>PATCH 1/1 powerpc/85xx:Add PSC9131 RDB Support
Thanks for reviewing this patch.
Please find my response in-lined
Quoted 52 lines · Wolfgang Denk
Dear Prabhakar Kushwaha,
Quoted 40 lines · In message<[email protected]> you…
PSC9131RDB is a Freescale reference design board for PSC9131 SoC. PSC9131 SOC is an integrated device that targets Femto base station market. It combines Power Architecture e500v2 and DSP StarCore SC3850 core technologies with MAPLE-B2F baseband acceleration processing elements
PSC9131RDB Overview
-----------------
-1Gbyte DDR3 (on board DDR)
-128Mbyte 2K page size NAND Flash
-256 Kbit M24256 I2C EEPROM
-128 Mbit SPI Flash memory
-USB-ULPI
-eTSEC1: Connected to RGMII PHY
-eTSEC2: Connected to RGMII PHY
-DUART interface: supports one UARTs up to 115200 bps for console display
Apart from the above it also consists various peripherals to support DSP functionalities.This patch adds support for mainly Power side functionalities and peripherals
Signed-off-by Ramneek Mehresh<[email protected]>Signed-off-by Priyanka Jain<[email protected]>Signed-off-by Akhil Goyal<[email protected]>Signed-off-by Rajan Srivastava<[email protected]>Signed-off-by Poonam Aggrwal<[email protected]>Signed-off-by Prabhakar Kushwaha<[email protected]>---
Applied ongit://git.denx.de/u-boot.git(branch master)board/freescale/psc9131rdb/Makefile | 54 +++ board/freescale/psc9131rdb/ddr.c | 186 +++++++++ board/freescale/psc9131rdb/law.c | 31 ++ board/freescale/psc9131rdb/psc9131rdb.c | 116 ++++++ board/freescale/psc9131rdb/tlb.c | 67 ++++ boards.cfg | 2 + doc/README.psc9131rdb | 137 +++++++ include/configs/PSC9131RDB.h | 484 +++++++++++++++++++++++ nand_spl/board/freescale/psc9131rdb/Makefile | 145 +++++++ nand_spl/board/freescale/psc9131rdb/nand_boot.c | 122 ++++++ 10 files changed, 1344 insertions(+), 0 deletions(-)Quoted 9 lines
create mode 100644 board/freescale/psc9131rdb/Makefile create mode 100644
board/freescale/psc9131rdb/ddr.ccreate mode 100644board/freescale/psc9131rdb/law.ccreate mode 100644board/freescale/psc9131rdb/psc9131rdb.ccreate mode 100644board/freescale/psc9131rdb/tlb.ccreate mode 100644 doc/README.psc9131rdb
create mode 100644include/configs/PSC9131RDB.h
create mode 100644 nand_spl/board/freescale/psc9131rdb/Makefile create mode 100644nand_spl/board/freescale/psc9131rdb/nand_boot.c
Quoted 1 line
Entry to
MAINTAINERSmissing.
I will add in next patch version
Quoted 8 lines
Quoted 4 lines
new file mode 100644
index 0000000..0d01b8dboard/freescale/psc9131rdb/Makefile new file +0
-0...
board/freescale/psc9131rdb/Makefile
Quoted 2 lines
board/freescale/psc9131rdb/Makefile new file +2
-0+######################################################################### +Please don't add trailing empty lines.
Sure i will take care of it
Quoted 6 lines
...
board/freescale/psc9131rdb/Makefile
Quoted 4 lines
board/freescale/psc9131rdb/Makefile new file +4
-0+unsigned long get_sdram_size(void) +{ + return CONFIG_SYS_DRAM_SIZE; +}Please use
get_ram_size()instead of a hardcoded setting.
I will take care in next patch version
Quoted 5 lines
board/freescale/psc9131rdb/Makefile
Quoted 4 lines
board/freescale/psc9131rdb/Makefile new file +3
-0+ if (fixed_ddr_parm_0[i].max_freq == 0) + panic("Unsupported DDR data rate %s MT/s data rate\n", + strmhz(buf, ddr_freq));Braces needed for multi-line statement.
I will take care of the braces.
Quoted 7 lines
board/freescale/psc9131rdb/Makefile
Quoted 6 lines
board/freescale/psc9131rdb/Makefile new file +6
-0+int checkboard(void) +{ + struct cpu_type *cpu; + + cpu = gd->cpu; + printf("Board: %sRDB\n", cpu->name);What exactly gets printed here?
It prints<SoC>RDB i.e. "PSC9131RDB"
Quoted 8 lines
Quoted 2 lines
board/freescale/psc9131rdb/Makefile new file +2
-0+int board_eth_init(bd_t *bis) +{...
board/freescale/psc9131rdb/Makefile
Quoted 4 lines
board/freescale/psc9131rdb/Makefile new file +4
-0+ fsl_pq_mdio_init(bis,&mdio_info); + tsec_eth_init(bis, tsec_info, num); + + return 0;return num; ??
I will take care
Quoted 10 lines
Quoted 5 lines
+/*
+ * Memory map
+ *
+ * 0x0000_0000 0x3FFF_FFFF DDR 1G cacheable
+ * 0x8800_0000 0x8810_0000 NAND memory 1MCan you please explain to me what "NAND memory" is? I must admit that I never heard of that - I always thought NAND was only available as storage devices with a command based controller interface?
...
This of course not the NAND memory.
Actually in our NAND controller we have internal SRAM. Data read from NAND is placed here(SRAM). Memory region defined here is for this internal SRAM of controller.
My mistake, I should have wrote controller's internal SRAM memory instead of NAND memory.
Quoted 7 lines
board/freescale/psc9131rdb/Makefile
Quoted 6 lines
board/freescale/psc9131rdb/Makefile new file +6
-0+/* NAND boot: 8K NAND loader config */ +#define CONFIG_SYS_NAND_SPL_SIZE 0x2000 +#define CONFIG_SYS_NAND_U_BOOT_SIZE (512<< 10) +#define CONFIG_SYS_NAND_U_BOOT_DST (0x11000000 - CONFIG_SYS_NAND_SPL_SIZE) +#define CONFIG_SYS_NAND_U_BOOT_START 0x11000000 +#define CONFIG_SYS_NAND_U_BOOT_OFFS (0)Please don't use parens around simple values.
I will take care of it.
Quoted 2 lines
Quoted 1 line
+/* Seconed UART port is connected to GPS */
Typo.
My Mistake.
Quoted 3 lines
board/freescale/psc9131rdb/Makefile
Quoted 2 lines
board/freescale/psc9131rdb/Makefile new file +2
-0+/* I2C EEPROM */ +#undef CONFIG_ID_EEPROMPlease do not undef what is not defined anyway.
I will remove
Quoted 4 lines
board/freescale/psc9131rdb/Makefile
Quoted 3 lines
board/freescale/psc9131rdb/Makefile new file +3
-0+#ifndef CONFIG_NET_MULTI +#define CONFIG_NET_MULTI +#endifObsolete - please remove.
Sure . i will do
Quoted 10 lines
Quoted 10 lines
board/freescale/psc9131rdb/Makefile new file +10
-0+/* + * Command line configuration. + */ +#include<config_cmd_default.h> + +#define CONFIG_CMD_ERRATA +#define CONFIG_CMD_ELF +#define CONFIG_CMD_IRQ +#define CONFIG_CMD_MII +#define CONFIG_CMD_PING
Quoted 8 lines
board/freescale/psc9131rdb/Makefile
Quoted 7 lines
board/freescale/psc9131rdb/Makefile new file +7
-0+#define CONFIG_CMD_SETEXPR +#define CONFIG_CMD_REGINFO +#define CONFIG_CMD_DHCP +#undef CONFIG_WATCHDOG /* watchdog disabled */ +#define CONFIG_CMD_EXT2 +#define CONFIG_CMD_FAT +#define CONFIG_DOS_PARTITIONHow about sorting these? And again: do not undef what is not defined.
I will do the same.
Quoted 6 lines
board/freescale/psc9131rdb/Makefile
Quoted 5 lines
+ * Boot Flags
+ */board/freescale/psc9131rdb/Makefile new file +2
-0+#define BOOTFLAG_COLD 0x01 /* Normal Power-On: Boot from FLASH */ +#define BOOTFLAG_WARM 0x02 /* Software reboot */Bogus, please remove.
I will remove
Quoted 6 lines
board/freescale/psc9131rdb/Makefile
Quoted 5 lines
board/freescale/psc9131rdb/Makefile new file +5
-0+#if defined(CONFIG_TSEC_ENET) +#define CONFIG_HAS_ETH0 +#endif + +Only one blank line in places like this.
I will take care of it
Quoted 8 lines
board/freescale/psc9131rdb/Makefile
Quoted 4 lines
board/freescale/psc9131rdb/Makefile new file +4
-0+#define CONFIG_HOSTNAME 9131rdb +#define CONFIG_ROOTPATH "/opt/nfsroot" +#define CONFIG_BOOTFILE "uImage" +#define CONFIG_UBOOTPATH u-boot.bin /* U-Boot image on TFTP server */
CONFIG_options are kind of special; if you define new ones (which should only be done when it really makes sense - this appears not to be the case here) you must also add documentation for these to the README.
I am not clear about this. These are already defined and used by other platforms.
Quoted 7 lines
Also, please stick with a common format - these are all strings, so they all should be quoted (this saves you a few calls to
MK_STR()further down below).Finally, while strictly legal according to rfc1123, it is pretty unusal to have a host name start with digits - please follow the common style used by other Freescale boards.
I will take care of this for CONFIG_HOSTNAME
Quoted 6 lines
board/freescale/psc9131rdb/Makefile
Quoted 5 lines
board/freescale/psc9131rdb/Makefile new file +5
-0+/* default location for tftp and bootm */ +#define CONFIG_LOADADDR 1000000 + +#define CONFIG_BOOTDELAY 10 /* -1 disables auto-boot */ +#define CONFIG_BOOTARGS /* the boot command will set bootargs */Drop this bogus #define.
I will remove it
Regards,
Prabhakar
PATCH 1/1 powerpc/85xx:Add PSC9131 RDB Support
Dear Prabhakar Kushwaha,
Quoted 8 lines · In message <[email protected]> you wrote:
Quoted 6 lines
Quoted 2 lines
+#define
CONFIG_UBOOTPATHu-boot.bin /* U-Boot image on TFTP server */
CONFIG_options are kind of special; if you define new ones (which should only be done when it really makes sense - this appears not to be the case here) you must also add documentation for these to the README.I am not clear about this. These are already defined and used by other platforms.
Maybe you can add the documentation anyway? Thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de A memorandum is written not to inform the reader, but to protect the writer. -- Dean Acheson