diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-09-22 11:28:07 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-09-27 10:27:31 +0200 |
commit | bc1969658ba10447a1cff7792ce4c2786023663f (patch) | |
tree | b27814a06545f3eec151e2984eed95b41077e882 /arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h | |
parent | 0c638571f0168760c0157ec4c7be512a2353f6ad (diff) | |
download | barebox-bc1969658ba10447a1cff7792ce4c2786023663f.tar.gz barebox-bc1969658ba10447a1cff7792ce4c2786023663f.tar.xz |
ppc mpc5200: add function to configure a chipselect
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h')
-rw-r--r-- | arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h b/arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h index aad2418fd4..558f331160 100644 --- a/arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h +++ b/arch/ppc/mach-mpc5xxx/include/mach/mpc5xxx.h @@ -782,6 +782,10 @@ void loadtask(int basetask, int tasks); /* retrieve configured sdram size connected to a chipselect */ unsigned long mpc5200_get_sdram_size(unsigned int cs); +/* configure a local plus bus chip select */ +#define MPC5200_BOOTCS 8 +void mpc5200_setup_cs(int cs, unsigned long start, unsigned long size, u32 cfg); + #endif /* __ASSEMBLY__ */ #endif /* __ASMPPC_MPC5XXX_H */ |