[U-Boot] [PATCH 4/4] s5p6442: Add support SMDK6442 board
Joonyoung Shim
dofmind at gmail.com
Tue Mar 30 12:17:39 CEST 2010
2010/3/29 Minkyu Kang <promsoft at gmail.com>:
> Dear Joonyoung Shim,
>
> On 29 March 2010 11:56, Joonyoung Shim <jy0922.shim at samsung.com> wrote:
>> This patch adds the new board SMDK6442 that uses s5p6442 SoC.
>>
>> Cc: Minkyu Kang <mk7.kang at samsung.com>
>> Cc: Kyungmin Park <kyungmin.park at samsung.com>
>> Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
>> ---
>> MAKEALL | 1 +
>> Makefile | 3 +
>> board/samsung/smdk6442/Makefile | 55 +++++++
>> board/samsung/smdk6442/config.mk | 6 +
>> board/samsung/smdk6442/lowlevel_init.S | 202 ++++++++++++++++++++++++++
>> board/samsung/smdk6442/mem_setup.S | 175 +++++++++++++++++++++++
>> board/samsung/smdk6442/onenand.c | 41 ++++++
>> board/samsung/smdk6442/smdk6442.c | 54 +++++++
>> include/configs/smdk6442.h | 242 ++++++++++++++++++++++++++++++++
>> 9 files changed, 779 insertions(+), 0 deletions(-)
>> create mode 100644 board/samsung/smdk6442/Makefile
>> create mode 100644 board/samsung/smdk6442/config.mk
>> create mode 100644 board/samsung/smdk6442/lowlevel_init.S
>> create mode 100644 board/samsung/smdk6442/mem_setup.S
>> create mode 100644 board/samsung/smdk6442/onenand.c
>> create mode 100644 board/samsung/smdk6442/smdk6442.c
>> create mode 100644 include/configs/smdk6442.h
>
> Please add smdk6442 at MAINTAINERS entry.
>
OK.
>> diff --git a/board/samsung/smdk6442/config.mk b/board/samsung/smdk6442/config.mk
>> new file mode 100644
>> index 0000000..9c39c8a
>> --- /dev/null
>> +++ b/board/samsung/smdk6442/config.mk
>> @@ -0,0 +1,6 @@
>> +#
>> +# Copyright (C) 2010 Samsung Elecgtronics
>
> Is Elecgtronics typo?
>
Elecgtronics -> Electronics
>> +# Minkyu Kang <mk7.kang at samsung.com>
>> +#
>> +
>> +TEXT_BASE = 0x34800000
>> diff --git a/board/samsung/smdk6442/smdk6442.c b/board/samsung/smdk6442/smdk6442.c
>> new file mode 100644
>> index 0000000..bb8d469
>> --- /dev/null
>> +++ b/board/samsung/smdk6442/smdk6442.c
>> @@ -0,0 +1,54 @@
>> +/*
>> + * Copyright (C) 2010 Samsung Electronics
>> + * Minkyu Kang <mk7.kang at samsung.com>
>> + * Joonyoung Shim <jy0922.shim at samsung.com>
>> + *
>> + * 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>
>> +
>> +DECLARE_GLOBAL_DATA_PTR;
>> +
>> +int board_init(void)
>> +{
>> + gd->bd->bi_arch_number = MACH_TYPE_SMDK6442;
>> + gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
>> +
>> + return 0;
>> +}
>> +
>> +int dram_init(void)
>> +{
>> + gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
>> + gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
>> +
>> + gd->bd->bi_dram[1].start = PHYS_SDRAM_2;
>> + gd->bd->bi_dram[1].size = PHYS_SDRAM_2_SIZE;
>> +
>> + return 0;
>> +}
>> +
>> +#ifdef CONFIG_DISPLAY_BOARDINFO
>> +int checkboard(void)
>> +{
>> + printf("Board:\t6442\n");
>
> Please fix it to SMDK6442.
>
OK.
>> + return 0;
>> +}
>> +#endif
>
> Thanks
> Minkyu Kang
> --
> from. prom.
> www.promsoft.net
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
Thanks.
--
- Joonyoung Shim
More information about the U-Boot
mailing list