This file originates in Linux. Linux has it under include/linux/ directory since commit dccd2304cc90. Let's move it to the same place as well in barebox. This commit was generated by the following commands: find -name '*.[chS]' | xargs sed -i -e 's:<sizes.h>:<linux/sizes.h>:' git mv include/sizes.h include/linux/ Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
28 lines
623 B
C
28 lines
623 B
C
/*
|
|
* Copyright (C) 2009-2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
|
|
*
|
|
* Under GPLv2
|
|
*/
|
|
|
|
#define __LOWLEVEL_INIT__
|
|
|
|
#include <common.h>
|
|
#include <asm/system.h>
|
|
#include <asm/barebox-arm.h>
|
|
#include <asm/barebox-arm-head.h>
|
|
#include <mach/hardware.h>
|
|
#include <mach/io.h>
|
|
#include <mach/at91sam9_ddrsdr.h>
|
|
#include <init.h>
|
|
#include <linux/sizes.h>
|
|
|
|
void __naked __bare_init barebox_arm_reset_vector(void)
|
|
{
|
|
arm_cpu_lowlevel_init();
|
|
|
|
arm_setup_stack(AT91SAM9N12_SRAM_BASE + AT91SAM9N12_SRAM_SIZE - 16);
|
|
|
|
barebox_arm_entry(AT91_CHIPSELECT_1, at91sam9n12_get_ddram_size(),
|
|
NULL);
|
|
}
|