
23 Oct
2012
23 Oct
'12
9:20 a.m.
Hi Pali Rohár,
On 10/19/12 14:00, Pali Rohár wrote:
This patch adding support for new board Nokia RX-51 (N900).
Based on previous work by: Alistair Buxton a.j.buxton@gmail.com
Signed-off-by: Pali Rohár pali.rohar@gmail.com Cc: Ивайло Димитров freemangordon@abv.bg
[...]
diff --git a/board/nokia/rx51/rx51.c b/board/nokia/rx51/rx51.c new file mode 100644 index 0000000..60446cb --- /dev/null +++ b/board/nokia/rx51/rx51.c
[...]
+/*
- Routine: board_init
- Description: Early hardware init.
- */
+int board_init(void) +{
- gpmc_init(); /* in SRAM or SDRAM, finish GPMC */
- /* board id for Linux */
- gd->bd->bi_arch_number = MACH_TYPE_NOKIA_RX51;
This should be specified in the board config file (see CONFIG_MACH_TYPE in README), unless, you have multiple board types supported in the same board file/binary (which does not look like the case here) and it is runtime detectable.
- /* boot param addr */
- gd->bd->bi_boot_params = OMAP34XX_SDRC_CS0 + 0x100;
- return 0;
+}
[...]
--
Regards,
Igor.